cvs commit: ports/security/gnupg Makefile distinfo pkg-plist
garga at FreeBSD.org
Tue Feb 15 19:10:01 UTC 2011
On Tue, Feb 15, 2011 at 10:21:43AM -0800, Doug Barton wrote:
> On 2/15/2011 2:32 AM, Renato Botelho wrote:
> > On Mon, Feb 14, 2011 at 05:11:42PM -0800, Doug Barton wrote:
> >> On 02/14/2011 06:24, Renato Botelho wrote:
> >>> Hi Doug,
> >>> After this update, i can't start gpg-agent with --daemon:
> >>> garga at botelhor:~> gpg-agent --daemon
> >>> gpg-agent: listening on socket `/tmp/gpg-9XORch/S.gpg-agent'
> >>> gpg-agent: gpg-agent (GnuPG) 2.0.17 started
> >>> setenv GPG_AGENT_INFO /tmp/gpg-9XORch/S.gpg-agent:76224:1
> >> That isn't how gpg-agent is supposed to work. See
> >> http://dougbarton.us/PGP/gpg-agent.html for more information. It's
> >> certainly working for me, or I wouldn't have committed the update. :)
> > Actually i'm using keychain, and it starts gpg-agent. I tried to start
> > it manually with the same parameters of your script, daemon was started
> > but i got the same bus error and an error code was returned
> > garga at botelhor:~> gpg-agent --enable-ssh-support --daemon --write-env-file
> > gpg-agent: listening on socket `/home/garga/.gnupg/S.gpg-agent'
> > gpg-agent: listening on socket `/home/garga/.gnupg/S.gpg-agent.ssh'
> > gpg-agent: gpg-agent (GnuPG) 2.0.17 started
> > setenv GPG_AGENT_INFO /home/garga/.gnupg/S.gpg-agent:40338:1
> > setenv SSH_AUTH_SOCK /home/garga/.gnupg/S.gpg-agent.ssh
> > setenv SSH_AGENT_PID 40338
> >  40337 bus error gpg-agent --enable-ssh-support --daemon --write-env-file
> > garga at botelhor:~> echo $?
> > 138
> > Because of this error code, keychain assumes gpg-agent was not started
> > correctly. I'll try to dig into it and see if I figure out what's
> > happening.
> The output above looks like you have the "use well-known socket" option
> in gpg-agent.conf, or gpg.conf (or whatever it's called, not in front of
> my FreeBSD system atm). Try toggling it and see what happens.
Same return code. Just something i forgot to mention (don't know if it
can be the cause), my system is a -current r218014 amd64 (kernel and
world built with clang).
garga at botelhor:~> gpg-agent --enable-ssh-support --daemon --write-env-file
gpg-agent: listening on socket `/tmp/gpg-haI9ga/S.gpg-agent'
gpg-agent: listening on socket `/tmp/gpg-9AS0tQ/S.gpg-agent.ssh'
gpg-agent: gpg-agent (GnuPG) 2.0.17 started
setenv GPG_AGENT_INFO /tmp/gpg-haI9ga/S.gpg-agent:81125:1
setenv SSH_AUTH_SOCK /tmp/gpg-9AS0tQ/S.gpg-agent.ssh
setenv SSH_AGENT_PID 81125
 81124 bus error gpg-agent --enable-ssh-support --daemon --write-env-file
garga at botelhor:~> echo $?
Renato Botelho <garga @ FreeBSD.org>
<garga.bsd @ gmail.com>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
Sanity and insanity overlap a fine grey line.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20110215/7df0d814/attachment.pgp
More information about the cvs-all