From owner-cvs-ports@FreeBSD.ORG Tue Feb 15 19:10:00 2011 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D01D2106566C; Tue, 15 Feb 2011 19:10:00 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F60C8FC16; Tue, 15 Feb 2011 19:09:59 +0000 (UTC) Received: by vxa40 with SMTP id 40so366068vxa.13 for ; Tue, 15 Feb 2011 11:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-operating-system:user-agent; bh=AY97k0IKagLakZ7ZkYaln0VHJmTsWVItfDVlHYBMYsE=; b=BnJw7sDrhPnlq6A+CaroM8zjP1FZDDhko6EEG6OUGZoPnJzbN7n96f1zAtFkWvQZXN 4stv1oDZi9n5eieRqPtjaOhQgdPBjTjJMCCAA9KHjPpp8CGzXJpJVvqpk/lNzwp3Z55N VIgpqcCorGBEWtT3Og8d5wdtnMN2GEDr47b3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :user-agent; b=aQnqbL9W0ugNtOJ13+xiriqKdLVg3y3ssFPUL9ZcWQIV5Dp9cnpNVuwq2Qb2kXjzv6 /bxxv/a21dI5dDgjpq5JEHnTbFD31PfBw5g+Wv0adcfzOk0Q45HVq9pcbaRLtGd8xZV2 6Px0/n6Ib+P6fkGlBtyPocZNNJsdAcNeqRGDI= Received: by 10.220.159.78 with SMTP id i14mr1379752vcx.218.1297796999286; Tue, 15 Feb 2011 11:09:59 -0800 (PST) Received: from bluepex.com (189-19-84-134.dsl.telesp.net.br [189.19.84.134]) by mx.google.com with ESMTPS id b5sm1372320vcx.28.2011.02.15.11.09.54 (version=SSLv3 cipher=OTHER); Tue, 15 Feb 2011 11:09:56 -0800 (PST) Sender: Renato Botelho Date: Tue, 15 Feb 2011 17:09:51 -0200 From: Renato Botelho To: Doug Barton Message-ID: <20110215190948.GA58757@bluepex.com> References: <201102080340.p183eGGr010607@repoman.freebsd.org> <20110214142444.GC10402@bluepex.com> <4D59D2CE.2020800@FreeBSD.org> <20110215103217.GA37665@bluepex.com> <4D5AC437.7060402@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <4D5AC437.7060402@FreeBSD.org> X-Operating-System: FreeBSD 9.0-CURRENT User-Agent: Mutt/1.5.21 (2010-09-15) 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 X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 19:10:01 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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@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 > >> > >> 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@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.s= sh' > > 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 > The output above looks like you have the "use well-known socket" option= =20 > in gpg-agent.conf, or gpg.conf (or whatever it's called, not in front of= =20 > 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@botelhor:~> gpg-agent --enable-ssh-support --daemon --write-env-file gpg-agent[81124]: listening on socket `/tmp/gpg-haI9ga/S.gpg-agent' gpg-agent[81124]: listening on socket `/tmp/gpg-9AS0tQ/S.gpg-agent.ssh' gpg-agent[81125]: 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 [1] 81124 bus error gpg-agent --enable-ssh-support --daemon --write-env= -file garga@botelhor:~> echo $? 138 --=20 Renato Botelho GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc Sanity and insanity overlap a fine grey line. --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk1az3wACgkQ6CRbiSJE7amClgCfacMfeS0ltTDVmrOhNUjcsHtM mPUAnjZy7w/7L+7+zmkOHHT07r20T+Eu =IU71 -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--