From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 13 12:30:27 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87B9816A4DD for ; Thu, 13 Jul 2006 12:30:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36A0943D45 for ; Thu, 13 Jul 2006 12:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6DCUFEO072069 for ; Thu, 13 Jul 2006 12:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6DCUEkA072068; Thu, 13 Jul 2006 12:30:15 GMT (envelope-from gnats) Resent-Date: Thu, 13 Jul 2006 12:30:15 GMT Resent-Message-Id: <200607131230.k6DCUEkA072068@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Kazarov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1660316A4DD for ; Thu, 13 Jul 2006 12:22:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7D3443D72 for ; Thu, 13 Jul 2006 12:22:48 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6DCMmX8006663 for ; Thu, 13 Jul 2006 12:22:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k6DCMmPn006662; Thu, 13 Jul 2006 12:22:48 GMT (envelope-from nobody) Message-Id: <200607131222.k6DCMmPn006662@www.freebsd.org> Date: Thu, 13 Jul 2006 12:22:48 GMT From: Dmitry Kazarov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: bin/100209: pam_ssh works no more after introducing src/crypto/openssh/ssh_namespace.h X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 12:30:27 -0000 >Number: 100209 >Category: bin >Synopsis: pam_ssh works no more after introducing src/crypto/openssh/ssh_namespace.h >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 13 12:30:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dmitry Kazarov >Release: 6.1-STABLE >Organization: Multicom Ltd, Moscow >Environment: FreeBSD kazarov.cds.ru 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu Jul 13 12:29:13 MSD 2006 root@kazarov.cds.ru:/var/tmp/obj/usr/src/sys/CE i386 >Description: I had recompiled world today and login (1) became unworkable due to auth sufficient pam_ssh.so no_warn try_first_pass line in /etc/pam.d/system Found that due to introduction of src/crypto/openssh/ssh_namespace.h some functions names were changed and loading of /usr/lib/pam_ssh.so failed with error /usr/lib/pam_ssh.so: Undefined symbol "key_load_private" IMNO: linker should at least warn on unresolved external references while building shared object. >How-To-Repeat: uncomment ssh line in /etc/pam.d/system and try to login >Fix: --- pam_ssh.c.orig Thu Jul 13 15:54:19 2006 +++ pam_ssh.c Thu Jul 13 16:08:02 2006 @@ -56,6 +56,7 @@ #include +#include "ssh_namespace.h" #include "key.h" #include "authfd.h" #include "authfile.h" >Release-Note: >Audit-Trail: >Unformatted: