[Pkg-sysvinit-devel] Bug#704108: umountfs: cannot unmount unusual bind mounts

Askar Safin safinaskar at mail.ru
Wed Mar 27 23:55:54 UTC 2013


Package: initscripts
Version: 2.88dsf-41
Severity: normal

Steps to reproduce:

mkdir /mytmp
mount -t tmpfs tmpfs /mytmp
mkdir /mytmp/root
mount --bind / /mytmp/root
reboot

What I see:
umountfs fails

What I should see:
umountfs should not fail. It should successfully umount /mytmp/root, and then /mytmp

Cause of bug (I think):
In the top of the umountfs script we unmount tmpfses. But we should also unmount their dependencies

Related bug: 444262

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils       8.20-3
ii  debianutils     4.3.4
ii  libc6           2.13-38
ii  lsb-base        4.1+Debian9
ii  mount           2.20.1-5.3
ii  sysv-rc         2.88dsf-41
ii  sysvinit-utils  2.88dsf-41

Versions of packages initscripts recommends:
ii  e2fsprogs  1.42.5-1.1
pn  psmisc     <none>

initscripts suggests no packages.

-- no debconf information



More information about the Pkg-sysvinit-devel mailing list