[Bug 145523] Re: umountnfs should umount dependent dirs

Toni Spets toni.spets at iki.fi
Sun Jun 5 08:49:13 UTC 2011


The usual situation I have is that I have mounted a network filesystem
and over that mounted a CD-ROM image using a loop device. If I forget to
unmount the loop device before I shutdown or reboot the system will hang
at unmounting for a long time because of the order of unmount (nfs
before loop).

To fix this issue directly, all loop devices should be unmounted first.

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

Title:
  umountnfs should umount dependent dirs

Status in “sysvinit” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: initscripts

  When umounting NFS (or networked filesystem) dirs, other "dependent
  dirs" have to be unmounted as well. This includes all the dirs below an
  NFS dir and all dirs which are loops over files which are mounted below
  an NFS dir. The following patch attempts to correct somewhat the
  situation. It is not perfect because losetup does not show the complete
  filename of a loop device, but the filename that was indicated to the
  kernel at loop creation.




More information about the foundations-bugs mailing list