From owner-freebsd-ports@FreeBSD.ORG Tue Feb 5 22:28:11 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A6082E21; Tue, 5 Feb 2013 22:28:11 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7A0C1E; Tue, 5 Feb 2013 22:28:11 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 4EC4B123842; Tue, 5 Feb 2013 22:28:10 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: stable/9 r245439 breaks security/pam_ssh_agent_auth on stable/9 (WAS: CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9) From: Stefan Bethke In-Reply-To: <7A12B6B7-BE3F-4E0A-99C5-61348CA7E028@lassitu.de> Date: Tue, 5 Feb 2013 23:28:09 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <7A12B6B7-BE3F-4E0A-99C5-61348CA7E028@lassitu.de> To: "miwi@freebsd.org" , freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.1499) Cc: Kimmo Paasiala X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 22:28:11 -0000 Am 05.02.2013 um 23:06 schrieb Stefan Bethke : > Am 05.02.2013 um 19:09 schrieb Kimmo Paasiala : >=20 >> On Tue, Feb 5, 2013 at 12:36 AM, Kimmo Paasiala = wrote: >>> On Sun, Feb 3, 2013 at 7:22 PM, Chris Rees = wrote: >>>> On 3 February 2013 17:15, Stefan Bethke wrote: >>>>>=20 >>>>> Am 03.02.2013 um 10:57 schrieb Chris Rees : >>>>>=20 >>>>>> On 3 February 2013 03:55, Kimmo Paasiala = wrote: >>>>>>>=20 >>>>>>> There is no PR yet with my fix and therefor no commit to ports = tree >>>>>>> that would fix the problem. I'll file a PR soon (TM). >>>>>>=20 >>>>>> The problem was in base, and is fixed there. >>>>>=20 >>>>> Huh? With -current r246283, I still get a segfault from sudo = unless I have Kimmo's patch. >>>>>=20 >>>>> Is there some confusion about which problem is addressed by = Kimmo's patch? >>>>>=20 >>>>=20 >>>> Hm, perhaps it might be necessary then. >>>>=20 >>>> Kimmo, please would you submit the patch you had as a PR? I'm sure >>>> Wesley would appreciate the hint. >>>>=20 >>>> Chris >>>=20 >>> I'll file a PR when I have recovered from a nasty flu. Right now I'm >>> not fit for thinking... >>>=20 >>> I changed the title of this thread to a better one. >>>=20 >>> -Kimmo >>=20 >> It looks like the port was updated just recently to a new version = that >> has its own problems that are no longer related strnvis(3). I'll have >> to give up for now. >>=20 >> (freebsd-ports added to cc:) >=20 > I can confirm that with the new port version on a two day old current, = the module doesn't work: > $ uname -a > FreeBSD freebsd-current.lassitu.de 10.0-CURRENT FreeBSD 10.0-CURRENT = #0 r246283: Sun Feb 3 16:55:16 CET 2013 = root@freebsd-current.lassitu.de:/usr/obj/usr/src/sys/GENERIC amd64 > $ pkg info|grep pam > pam_ssh_agent_auth-0.9.4 PAM module which permits authentication = via ssh-agent > $ sudo ls > sudo: unable to initialize PAM: No error: 0 >=20 > If I downgrade to the previous port version (and apply Kimmo's patch), = it's working properly. Here's a slightly different error message on 9-stable: $ uname -a FreeBSD diesel.lassitu.de 9.1-STABLE FreeBSD 9.1-STABLE #7 r245996: Sun = Jan 27 22:36:05 CET 2013 = root@diesel.lassitu.de:/usr/obj/usr/src/sys/DIESEL amd64 stb@diesel:~$ sudo ls sudo: unable to initialize PAM: No such file or directory Stefan --=20 Stefan Bethke Fon +49 151 14070811