Package: mount
Version: 2.19.1-1, 2.19.1-2
Severity: important

umount tries to umount /proc when it is invoked with some mountpoint,
the path of which is "proc" or path/to/"proc" and which is mounted
without adding the coresponding entry into /etc/mtab,
and on top of the parent directory of the mountpoint.

This problem occurs especially when proc filesystem is mounted inside
a chrooted environment; affecting pbuilder/cowbuilder.

  ~# cd /var/tmp
  /var/tmp# mkdir proc
  /var/tmp# mount -n -t proc proc ./proc
  /var/tmp# umount -vv proc
  Trying to unmount /var/tmp/proc
  umount: /proc: device is busy.
          (In some cases useful info about processes that use
           the device is found by lsof(8) or fuser(1))
  /var/tmp# umount -vv /var/tmp/proc
  Trying to unmount /var/tmp/proc
  umount: /proc: device is busy.
          (In some cases useful info about processes that use
           the device is found by lsof(8) or fuser(1))
  /var/tmp# cd
  ~# umount -vv /var/tmp/proc
  Trying to unmount /var/tmp/proc
  Could not find /var/tmp/proc in mtab
  /var/tmp/proc has been unmounted

The (verbose) message "Trying to unmount" is OK,
but the next line says umounting "/proc".
Changing to another directory goes the behavior back to normal.

This does not occur in other paths.

  ~# cd /var/tmp
  /var/tmp# mkdir procfs
  /var/tmp# mount -n -t proc proc ./procfs
  /var/tmp# umount -vv /var/tmp/procfs
  Trying to unmount /var/tmp/procfs
  Could not find /var/tmp/procfs in mtab
  /var/tmp/procfs has been unmounted

Thanks,
-- 
YOSHINO Yoshihito <[email protected]>

-- System Information:
Debian Release: wheezy/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mount depends on:
ii  libblkid1                     2.19.1-2   block device id library
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  libmount1                     2.19.1-2   block device id library
ii  libselinux1                   2.0.98-1.1 SELinux runtime shared libraries
ii  libsepol1                     2.0.42-1   SELinux library for manipulating b

mount recommends no packages.

Versions of packages mount suggests:
ii  nfs-common                    1:1.2.4-1  NFS support files common to client

-- no debconf information



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

Reply via email to