Package: util-linux
Version: 2.13.1-5
Severity: normal

I'd like to be able to symlink /etc/mtab to /proc/mounts on some systems
without seeing this error each time mount.nfs runs:

Can't set permissions on mtab: Operation not permitted

mount.nfs opens, and writes to /proc/mounts w/o errors since the kernel
throws the write away, but the fchmod fails. The corresponding code in
util-linux's mount checks if mtab is a symlink and avoids writing or
chmoding it in that case.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages util-linux depends on:
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libncurses5            5.6+20080405-1    Shared libraries for terminal hand
ii  libselinux1            2.0.59-1          SELinux shared libraries
ii  libslang2              2.1.3-3           The S-Lang programming library - r
ii  libuuid1               1.40.8-2          universally unique id library
ii  lsb-base               3.2-8             Linux Standard Base 3.2 init scrip
ii  tzdata                 2008b-1           time zone and daylight-saving time
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

util-linux recommends no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to