Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2011 08:32:19 -0200
From:      Renato Botelho <garga@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/security/gnupg Makefile distinfo pkg-plist ports/security/gnupg/files patch-keybox-blob.c
Message-ID:  <20110215103217.GA37665@bluepex.com>
In-Reply-To: <4D59D2CE.2020800@FreeBSD.org>
References:  <201102080340.p183eGGr010607@repoman.freebsd.org> <20110214142444.GC10402@bluepex.com> <4D59D2CE.2020800@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 14, 2011 at 05:11:42PM -0800, Doug Barton wrote:
> On 02/14/2011 06:24, Renato Botelho wrote:
>=20
> > Hi Doug,
> >
> > After this update, i can't start gpg-agent with --daemon:
> >
> > garga@botelhor:~>  gpg-agent --daemon
> > gpg-agent[76223]: listening on socket `/tmp/gpg-9XORch/S.gpg-agent'
> > gpg-agent[76224]: gpg-agent (GnuPG) 2.0.17 started
> > setenv GPG_AGENT_INFO /tmp/gpg-9XORch/S.gpg-agent:76224:1
>=20
> That isn't how gpg-agent is supposed to work. See=20
> http://dougbarton.us/PGP/gpg-agent.html for more information. It's=20
> 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@botelhor:~> gpg-agent --enable-ssh-support --daemon --write-env-file
gpg-agent[40337]: listening on socket `/home/garga/.gnupg/S.gpg-agent'
gpg-agent[40337]: listening on socket `/home/garga/.gnupg/S.gpg-agent.ssh'
gpg-agent[40338]: 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
[1]    40337 bus error  gpg-agent --enable-ssh-support --daemon --write-env=
-file
garga@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.

--=20
Renato Botelho <garga     @ FreeBSD.org>
               <garga.bsd @ gmail.com>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

Lie, n.:
	A very poor substitute for the truth, but the only one
	discovered to date.

--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk1aVjEACgkQ6CRbiSJE7amEKwCggKox8i6jNdcI4UB6U1Mbamn7
Xz8AoJNSA+5qNdi10iqoXf80J4cBGzBo
=DMY6
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110215103217.GA37665>