Package: initscripts
Version: 2.86.ds1-4
Severity: normal

/etc/mtab isn't a reliable way to find out what is currently mounted.  Not
only might it contain stale entries, but also see the bug I just filed on
mount, where it fails to contain sub-mounts produced by mount --rbind.
As a result, if you have anything in your /etc/fstab containing the rbind
option that causes more than one filesystem to be bind mounted, umount will
fail.

And then, because it failed to unmount a bind mount of my root filesystem,
it remounted my root filesystem read-only.  Hilarity and dirty filesystems
ensued.

As far as I can tell, getting the list of mounts from /proc/mounts instead
of /etc/mtab should work fine.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc5
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages initscripts depends on:
ii  coreutils                     5.2.1-2.1  The GNU core utilities
ii  dpkg                          1.13.11    package maintenance system for Deb
ii  e2fsprogs                     1.38-2     ext2 file system utilities and lib
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an
ii  lsb-base                      3.0-11     Linux Standard Base 3.0 init scrip
ii  util-linux                    2.12p-8    Miscellaneous system utilities

initscripts recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to