From owner-cvs-all@FreeBSD.ORG Tue Feb 15 18:22:04 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BEFE1065674 for ; Tue, 15 Feb 2011 18:22:04 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 61C648FC1E for ; Tue, 15 Feb 2011 18:21:55 +0000 (UTC) Received: (qmail 22280 invoked by uid 399); 15 Feb 2011 18:21:44 -0000 Received: from localhost (HELO ?192.168.2.9?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 15 Feb 2011 18:21:44 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4D5AC437.7060402@FreeBSD.org> Date: Tue, 15 Feb 2011 10:21:43 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Renato Botelho References: <201102080340.p183eGGr010607@repoman.freebsd.org> <20110214142444.GC10402@bluepex.com> <4D59D2CE.2020800@FreeBSD.org> <20110215103217.GA37665@bluepex.com> In-Reply-To: <20110215103217.GA37665@bluepex.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 18:22:04 -0000 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.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. 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. hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/