Am Montag, 16. Dezember 2002 10:31 schrieb [Bug 442]: > https://qa.mandrakesoft.com/show_bug.cgi?id=442 > > Product: nss_ldap > Component: nss_ldap > Summary: Using nss_ldap, machine will not shutdown or reboot > cleanly > Version: 202-1mdk > Platform: PC > OS/Version: All > Status: NEW > Severity: major > Priority: P2 > AssignedTo: [EMAIL PROTECTED] > ReportedBy: [EMAIL PROTECTED] > > > When ldap is added to /etc/nsswitch.conf the machine will not shutdown > or reboot cleanly. It looks like what's happening is that the libraries > are on the /usr filesystem and they are held open even after all > processes are killed. If the /usr filesystem is not on the root > partition, it cannot be unmounted. > > Steps to reproduce the problem: > install nss_ldap on a machine that has /usr/lib mounted on a seperate > partition from / add ldap to nsswitch.conf per the nss_ldap > documentation > reboot into single user mode > type: lsof | grep /usr > you should see ldap, sasl, and kerberos libraries > type: reboot > > it should hang saying that the /usr partition can't be unmounted. The > machine needs to be powered off and the disks need to be fsck'd > > removing the ldap options from /etc/nsswitch.conf makes the machine > shutdown properly again after the next reboot. > > I recommend moving all of those libraries to /lib instead of /usr/lib > since that is usually on the root partition. > > ------- Additional Comments From [EMAIL PROTECTED] 2002-12-16 > 10:31 ------- bug exists also in latest cooker version > > > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is.
as a short hand hack, you can user 'umount -l' in the halt script (in /etc/init.d) to unmount the filesystems (around line 170). Martin -- ------------------------------------------------------------ H E L I X Gesellschaft für Software & Engineering mbH ------------------------------------------------------------ Hanauer Landstrasse 52 Telefon (069) 4789 35-30 60314 Frankfurt am Main Telefax (069) 4789 35-44 ------------------------------------------------------------ http://www.helix-gmbh.net [EMAIL PROTECTED] ------------------------------------------------------------
msg83996/pgp00000.pgp
Description: signature