Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 01:25:48 +0100 (CET)
From:      Yuri Khotyaintsev <yuri@ice.irfu.se>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59535: shells/bash2 must be dynamically linked	to support nss
Message-ID:  <200311210025.hAL0PmdV094246@ice.irfu.se>
Resent-Message-ID: <200311210040.hAL0eEVc030307@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59535
>Category:       ports
>Synopsis:       shells/bash2 must be dynamically linked	to support nss
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 20 16:40:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yuri Khotyaintsev
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Swedish Institute of Space Physics	
>Environment:
System: FreeBSD ice.irfu.se 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Thu Nov 20 11:20:31 CET 2003 root@ice.irfu.se:/usr/obj/usr/src/sys/ICE i386

>Description:
	Bash is compiled statically now. When using nss_ldap I get the prompt:
[I have no name!@ice][~]#
Which means bash has to be recompiled dynamically in order to access nss_ldap.
All shells in /bin/ are compiled dynamically. 
>How-To-Repeat:
Try to use bash with nss_ldap for user which exists only ldap directory.	
>Fix:

Removing line
CONFIGURE_ENV=  LDFLAGS=-static
from ports/shells/bash2/Makefile and reinstalling bash solves the problem.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311210025.hAL0PmdV094246>