Bug 146585 - bind mounted directory won't unmount at shutdown
Bug#: 146585 Product:  Gentoo Linux Version: 2006.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: eric.brown@dnbrown.net
Component: baselayout
URL: 
Summary: bind mounted directory won't unmount at shutdown
Keywords:  
Status Whiteboard: 
Opened: 2006-09-06 10:56 0000
Description:   Opened: 2006-09-06 10:56 0000
my fstab is kind of like this:

/dev/hda1 /boot
/dev/hda2 swap
/dev/hda3 /
/dev/vg/usr /usr
/dev/vg/var /var
/dev/vg/tmp /tmp
/opt /usr/opt none bind 0 0
/proc etc etc etc...


The problem is when I reboot, I see an error about not being able to unmount
/opt, and that I should do it manually.  This is a problem because /dev/vg/usr
will not unmount either, and that is a problem because eventually it could
cause problems...

If I manually unmount /opt, everything is ok, vg/usr unmounts, all is well...
Is this a bug with the init scripts?  Is there a way to have the /opt bind
unmount?

------- Comment #1 From Roy Marples (RETIRED) 2006-12-12 03:28:13 0000 -------
This should be fixed in baselayout-1.13.0_alpha9