Red Hat Bugzilla – Bug 7455
/usr does not unmount
Last modified: 2014-03-16 22:11:27 EDT
With initscripts-4.68 /usr will not unmount properly on halt/reboot. At
the end of the shutdown sequence it says:
Turning off swap OK
Turning off accounting OK
Turning off quotas OK
Unmounting file systems umount2: Device of resource busy
umount: /usr: device is busy FAILED
INIT: no more processes left in the runlevel
and then hangs, the strange thing is that I don't have this problem on
another computer with very simillar configuration.
Does this only happen with 4.68 for you as opposed
to earlier/later errata releases?
I've had this problem ever since upgrading to 6.1
The problem is that fuser kills some stuff that shouldn't be killed.
I put in a fuser -v -m /usr to see what was getting killed. It reported that
both rc and S01halt were using /usr.
After a little further investigation I figured out the whole of the problem:
These machines use LDAP for authentication, so ldap is in /etc/nsswitch.conf.
The libc loads the ldap library which is installed in /usr/lib. As a result
every process depends on /usr. So I guess this is really a bug with the
openldap rpm in that it should install libldap to /lib.
This is fixed in the nss_ldap RPMs in Raw Hide.