Your message dated Wed, 13 Nov 2013 09:37:09 -0500
with message-id <[email protected]>
and subject line umount: please refuse to umount /a when /a/b is bind mounted
elsewhere.
has caused the Debian Bug report #486020,
regarding umount: please refuse to umount /a when /a/b is bind mounted
elsewhere.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
486020: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486020
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mount
Version: 2.12r-19etch1
Severity: normal
File: /bin/mount
Hi
I have a directory tree like
/a
/a/b
/a/c
where /a/b and /a/c mount --bind to /srv/b and /srv/c
That normally works fine.
Today I unmounted /a and tried to fsck the partition.
$ sudo umount /dev/sda1
$ sudo fsck -C0 /dev/sda1
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/sda1 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? no
check aborted.
After 30 mins messing around I finally noticed that mount still showed
/a/b mounted on /srv/b etc.
Please refuse to umount /a whilst /a/b is still bind mounted to /srv/b.
(There are alternatives like automatically umounting /a/b when /a is
umounted, or having the kernel somehow disable access to /srv/b when
/a is umount. Both are not a good idea imo if the admin might have
forgotten to stop services that access /srv/b).
Thanks for your work in Debian.
Andrew
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages mount depends on:
ii lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 block device id library
ii lib 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 universally unique id library
mount recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This behavior is defined by the kernel and is working as intended.
You should run mount with no arguments to see if a filesystem is still
mounted, and where.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSg46VAAoJEJrBOlT6nu7599wH/AoRt3HXvHkKVFQN0JPUlTQO
Xe4iUdmOx3BvBsN9uRv1k+vA19aBFFrYhnPLsyw6Wj9L262w3q9VwQZJ/3jgJYIS
ZwXXgYZSqeWp6EdSFcVqFwWAHwtxhqw4aj7sTEAs918jSIfQ5YFu7dMzsunqCj7u
Ox/IkY3L3ni8vqBKNzLolqwz6B0ltDEs8MhJkNoRoc1ybAzUsezwibOiYZ78KFig
MUUpDbQPmA8w2B0U1V6lRIBMDaKIhM93//iC1JcN+gf+W+hsDVKtIWd6A9GVF4UK
+cEYHadpfzQ2ewfJ4fTz87WN9vczPuOKfx4YcL9Z5uDCyqsYinm6z95OKEtXzwI=
=G75v
-----END PGP SIGNATURE-----
--- End Message ---