Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #179840

Re: Almost all gpg2 operations hang after upgrade to stretch/testing

From Nathanael Schweers <Nathanael.Schweers@outdooractive.com>
Newsgroups linux.debian.user
Subject Re: Almost all gpg2 operations hang after upgrade to stretch/testing
Date 2017-04-06 10:50 +0200
Message-ID <ttbh9-6aP-39@gated-at.bofh.it> (permalink)
References <ttaEq-5XA-7@gated-at.bofh.it> <ttb7s-66T-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Nicolas George <george@nsup.org> writes:

> Le septidi 17 germinal, an CCXXV, Nathanael Schweers a écrit :
>> connect(6, {sa_family=AF_UNIX,
>> sun_path="/run/user/1000/gnupg/S.gpg-agent"}, 34) = 0
>> read(6,
>> 
>> It seems to me that strace shouldn’t just stop in the middle of an
>> argument list, but I might be wrong.
>
> It is perfectly normal. strace will print the contents of the buffer
> that has just been read, but for that, it must wait that the syscall
> finished.
>
> Thus, we know that the problem is the agent not responding at all to the
> client. stracing the agent may give more information.

Ah, thanks a lot for that tip!  I went again and looked how the agent is
started, as it immediately respawned whenever I sent SIGTERM to it.

Turns out, I still had a systemd user service, which started the agent
using environment variables and the like.  As soon as I had removed that
service and performed a reboot (I’m not sure what exactly would have to
be restarted), everything worked!

At any rate, you really saved my day, thank you so much!

>
>>  5307 pts/4    S+     0:00 grep --color=auto --exclude-dir=.bzr
>> --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg
>> --exclude-dir=.svn -i gpg
>
> As a side note, you might be interested to know "git grep"; it greps
> tracked files but not the repository, and even works when working out of
> tree.

Those seem to be the default arguments for grep or something.  I use
oh-my-zsh, it may come from there.  Also, I know about git grep, yet
hardly use it.  Maybe I should ;)

Regards,
Nathanael Schweers

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Almost all gpg2 operations hang after upgrade to stretch/testing Nathanael Schweers <Nathanael.Schweers@outdooractive.com> - 2017-04-06 10:10 +0200
  Re: Almost all gpg2 operations hang after upgrade to stretch/testing Nicolas George <george@nsup.org> - 2017-04-06 10:20 +0200
    Re: Almost all gpg2 operations hang after upgrade to stretch/testing Nathanael Schweers <Nathanael.Schweers@outdooractive.com> - 2017-04-06 10:30 +0200
      Re: Almost all gpg2 operations hang after upgrade to stretch/testing Nicolas George <george@nsup.org> - 2017-04-06 10:40 +0200
        Re: Almost all gpg2 operations hang after upgrade to stretch/testing Nathanael Schweers <Nathanael.Schweers@outdooractive.com> - 2017-04-06 10:50 +0200
        Re: Almost all gpg2 operations hang after upgrade to stretch/testing Darac Marjal <mailinglist@darac.org.uk> - 2017-04-06 10:50 +0200
          Re: Almost all gpg2 operations hang after upgrade to stretch/testing Richard Owlett <rowlett@cloud85.net> - 2017-04-06 13:30 +0200
            Re: Almost all gpg2 operations hang after upgrade to stretch/testing Curt <curty@free.fr> - 2017-04-06 16:50 +0200
              Re: Almost all gpg2 operations hang after upgrade to stretch/testing Richard Owlett <rowlett@cloud85.net> - 2017-04-06 20:50 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing Brian <ad44@cityscape.co.uk> - 2017-04-06 21:50 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing Lisi Reisz <lisi.reisz@gmail.com> - 2017-04-13 15:50 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing <tomas@tuxteam.de> - 2017-04-13 16:30 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing John Hasler <jhasler@newsguy.com> - 2017-04-13 16:50 +0200
                Re: Almost all gpg2 operations hang after upgrade to  stretch/testing Celejar <celejar@gmail.com> - 2017-04-13 18:00 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing John Hasler <jhasler@newsguy.com> - 2017-04-13 18:20 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-04-13 18:40 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing <tomas@tuxteam.de> - 2017-04-14 10:50 +0200

csiph-web