I have added some debug prints to umountfs and umountroot (in /etc/init.d/).
Namely:
        mount > /umountrootfs-mount.log
        lsof > /umountrootfs-lsof.log
        ps auxf > /umountrootfs-ps.log
and similarly in umountfs before they run their umount sequences.

The umountrootfs-mount.log shows, that one of my binded mounts on the /data 
filesystem is not unmounted cleanly by unmountfs:
/data/home on /home type none (ro)
/data on the other hand is *not* mentioned anymore(!)

The original state of /data/home is this: /data/home on /home type none 
(rw,bind)
as is to be expected with the fstab line i posted in #2.
Other bind-mounted directories are unmounted correctly though although they use 
the same options in fstab, e.g.:
/data/tftpboot  /tftpboot                                       none            
        bind
which shows up in the mount log (before umounting in umountfs) as
/data/tftpboot on /tftpboot type none (rw,bind)

Neither the ps nor the lsof log indicate any obvious problems.
Because of this I have to assume that the initscripts are missing something.

** Package changed: ubuntu => sysvinit (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1103416

Title:
  12.04 isn't cleanly unmounted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1103416/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to