[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NSS library dependencies



On Tue, Dec 17, 2002 at 10:43:27AM -0600, Steve Langasek wrote:
> What information are you trying to store in LDAP that is so essential to
> the system prior to mounting of /usr?
> 
> It is entirely valid for /usr to be located on a network share (NFS), so
> you're not really guaranteed to be able to access your LDAP server (which
> obviously isn't running locally either, with no /usr) until about the
> same time as /usr is mounted.  If you have records that are needed by the
> system prior to mounting of /usr, these ought to be stored in a local
> database backend such as /etc/passwd.

The major problem here is that you can't remount or unmount /usr if you
are using the libnss-ldap module, which is kind of logical when you
consider that part of the module reside on /usr.

one solution would be to move the whole module to /usr, but that would
not (atleast to my knowledge, although i haven't tested it) solve the
problem, the same problem would remain. 

The only proper solution (which i was looking into this weekend
actually) would be to statically link all required libraries into
libnss-ldap and keep that in /lib, i'm not that keen in the idea as it
might bring some new unexpected problems.

Sami

-- 
			  -< Sami Haahtinen >-
      -[ Notify immediately if you do not receive this message ]-
	-< 2209 3C53 D0FB 041C F7B1  F908 A9B6 F730 B83D 761C >-



Reply to: