Your message dated Wed, 6 Jun 2012 19:15:17 +0200
with message-id <20120606191517.266d950d@hr1>
and subject line Re: [solved] initscripts: symlinking /etc/mtab to /proc/mounts 
breaks user umount
has caused the Debian Bug report #673446,
regarding initscripts: symlinking /etc/mtab to /proc/mounts breaks user umount
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.)


-- 
673446: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673446
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: initscripts
Version: 2.88dsf-22.1
Severity: important

Given the following line in fstab:

/dev/sdb1  /mnt.d/sdb1  auto  noauto,user,rw,noatime,nodiratime

This allows an ordinary user to mount the FS. Unmounting as the same user
however fails:

# echo $UID
1000

# mount /mnt.d/sdb1
# umount /mnt.d/sdb1
umount: only root can unmount /dev/sdb1 from /mnt.d/sdb1

# grep /mnt.d/sdb1 /proc/mounts
/dev/sdb1 /mnt.d/sdb1 vfat 
rw,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
 0 0

When /etc/mtab is a normal writable file, umount works.


-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (950, 'stable'), (800, 'testing'), (500, 'oldstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.17-x86_64 (SMP w/4 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  coreutils          8.5-1                 GNU core utilities
ii  debianutils        4.3                   Miscellaneous utilities specific t
ii  libc6              2.13-32               Embedded GNU C Library: Shared lib
ii  lsb-base           3.2-23.2squeeze1      Linux Standard Base 3.2 init scrip
ii  mount              2.17.2-9              Tools for mounting and manipulatin
ii  sysv-rc            2.88dsf-22.1          System-V-like runlevel change mech
ii  sysvinit-utils     2.88dsf-13.1+squeeze1 System-V-like utilities
ii  ucf                3.0025+nmu3           Update Configuration File: preserv

Versions of packages initscripts recommends:
ii  e2fsprogs               1.41.12-4stable1 ext2/ext3/ext4 file system utiliti
ii  psmisc                  22.11-1          utilities that use the proc file s

initscripts suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
My version of mount was too old (still from squeeze). After upgrading to
mount 2.20.1-5, the problem is gone.


--- End Message ---
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to