Package: mount
Version: 2.20.1-5.3
Severity: serious
Justification: breaks handling of network-based filesystems on shutdown

The use of a symlink for /etc/mtab in wheezy means that 'mount -f' no longer
works.  As a consequence, extra mount options that libmount *should* record
in /run/mount/utab are not recorded for any filesystem that is mounted
before the rootfs is marked rw, including but not limited to _netdev.  This
potentially leaves the system with no way to cleanly unmount some
network-dependent filesystems at shutdown time.

Relatedly, even if /run/mount/utab were being updated properly by 'mount
-f', there appears to be no interface for querying these values. 
/etc/init.d/umountnfs.sh currently assumes it should read from /etc/mtab;
and the 'findmnt' utility doesn't appear to honor utab even when using the
'-m' option:

$ findmnt -m -O _netdev 
$ echo $?
1
$

This is a significant regression in handling of network-based block devices,
such as iscsi and nbd, compared with squeeze.  I think it's important that
this be resolved before release.

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
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 mount depends on:
ii  libblkid1                     2.20.1-5.3 block device id library
ii  libc6                         2.13-38    Embedded GNU C Library: Shared lib
ii  libmount1                     2.20.1-5.3 block device id library
ii  libselinux1                   2.0.96-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.6-3  NFS support files common to client

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to