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

Bug#324900: nscd: umount /var fails (unclean shutdowns)



On Thu, Sep 01, 2005 at 02:04:25PM +0900, GOTO Masanori wrote:

> > - bash unconditionally does some NSS calls during startup (getpwuid
> >   etc.); this in turn
> > - loads all NSS modules that serve passwd maps -> if a module uses
> >   libraries from /usr, now you have a live memory mapping under /usr so
> >   you cannot unmount it during shutdown
> 
> Why is this "unconditionally" happenned?  What setting does this cause
> this problem?

Because bash calls getpwuid() to initialize the value of $SHELL before
executing the script.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences,
     Laboratory of Parallel and Distributed Systems
     Address   : H-1132 Budapest Victor Hugo u. 18-22. Hungary
     Phone/Fax : +36 1 329-78-64 (secretary)
     W3        : http://www.lpds.sztaki.hu
     ---------------------------------------------------------



Reply to: