Package: mount
Version: 2.15.1~rc1-1
Severity: important

% grep cdrom /etc/fstab
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0           
% mount /media/cdrom0
mount: block device /dev/sr0 is write-protected, mounting read-only
% umount /media/cdrom0 
umount: only root can unmount /dev/scd0 from /media/cdrom
% grep cdrom /etc/mtab /proc/mounts
/etc/mtab:/dev/sr0 /media/cdrom0 udf ro,noexec,nosuid,nodev,user=rleigh 0 0
/proc/mounts:/dev/sr0 /media/cdrom0 udf ro,nosuid,nodev,noexec,relatime,utf8 0 0

As you can see, /proc/mounts does not contain a user=rleigh option,
and as a result, I'm not permitted to umount /media/cdrom0.

This information should be recorded in /proc/mounts now that this
information can be passed to mount(2).  The same goes for any other
information currently only saved in /etc/mtab.  /etc/mtab will be
linked to /proc/mounts very soon, and all these bugs in mount need
fixing.


Regards,
Roger

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (550, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mount depends on:
ii  libblkid1                     1.41.6-1   block device id library
ii  libc6                         2.9-17     GNU C Library: Shared libraries
ii  libselinux1                   2.0.80-1   SELinux shared libraries
ii  libsepol1                     2.0.36-1   Security Enhanced Linux policy lib

mount recommends no packages.

Versions of packages mount suggests:
ii  nfs-common                    1:1.2.0-2  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