From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 21 21:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C01FCDB for ; Wed, 21 May 2014 21:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78D5E2042 for ; Wed, 21 May 2014 21:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4LLA0SZ008539 for ; Wed, 21 May 2014 21:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4LLA0CN008538; Wed, 21 May 2014 21:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 21 May 2014 21:10:00 GMT Resent-Message-Id: <201405212110.s4LLA0CN008538@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lukas Slebodnik Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52023AE1 for ; Wed, 21 May 2014 21:07:58 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2569D2021 for ; Wed, 21 May 2014 21:07:58 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4LL7v6U030102 for ; Wed, 21 May 2014 21:07:57 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4LL7v30030101; Wed, 21 May 2014 21:07:57 GMT (envelope-from nobody) Message-Id: <201405212107.s4LL7v30030101@cgiserv.freebsd.org> Date: Wed, 21 May 2014 21:07:57 GMT From: Lukas Slebodnik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190090: nsswitch ignores sss option X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2014 21:10:00 -0000 >Number: 190090 >Category: ports >Synopsis: nsswitch ignores sss option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 21 21:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Lukas Slebodnik >Release: 9.2-RELEASE-p3 >Organization: >Environment: FreeBSD freebsd 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Recently, the Makefile in security/sssd port was adapted to use libtoolize. In the same commit (svn revision 353313) clean up was done. The problem is that some changes should not be done. post-install: ${INSTALL_DATA} ${WRKSRC}/src/examples/sssd-example.conf ${STAGEDIR}${ET - (cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s nss_sss.so.2 nss_sss.so.1) - (cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s pam_sss.so pam_sss.so.5) - @${RM} -f ${STAGEDIR}${PREFIX}/lib/ldb/memberof.la nsswitch try to find file nss_sss.so.1, but it does not exist. root@freebsd:~ # grep sss /etc/nsswitch.conf group: files sss passwd: files sss root@freebsd:~ # truss getent passwd usersssd01 | & grep sss access("/lib/nss_sss.so.1",0) ERR#2 'No such file or directory' access("/usr/lib/nss_sss.so.1",0) ERR#2 'No such file or directory' access("/usr/lib/compat/nss_sss.so.1",0) ERR#2 'No such file or directory' access("/usr/local/lib/nss_sss.so.1",0) ERR#2 'No such file or directory' access("/usr/local/lib/nss/nss_sss.so.1",0) ERR#2 'No such file or directory' access("/lib/nss_sss.so.1",0) ERR#2 'No such file or directory' access("/usr/lib/nss_sss.so.1",0) ERR#2 'No such file or directory' root@freebsd:~ # find /usr/local/lib -name "nss_sss*" /usr/local/lib/nss_sss.so /usr/local/lib/nss_sss.so.2 /usr/local/lib/nss_sss.so.2.0.0 Attached patch should fix this problem. >How-To-Repeat: >Fix: Attached patch should fix this problem. Patch attached with submission follows: >From 9bf6aabeeeb9e26810221e541203888bbffffe45 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 21 May 2014 23:04:27 +0200 Subject: [PATCH] create symlink for nss_sss.so with suffix .1 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 48f0166a767021c5b6c84e68f1adb8bea367b700..1f4fb158f314975f11be70b6211bf4a33aed76d6 100644 --- a/Makefile +++ b/Makefile @@ -105,6 +105,7 @@ post-patch: post-install: ${INSTALL_DATA} ${WRKSRC}/src/examples/sssd-example.conf ${STAGEDIR}${ETCDIR}/sssd.conf.sample + (cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s nss_sss.so nss_sss.so.1) # clean these up from the install; we create them in rc script start_precmd .for VARDIRS in db/sss db/sss_mc log/sssd run/sss/krb5.include.d run/sss/private run/sss -- 1.9.0 >Release-Note: >Audit-Trail: >Unformatted: