[Pkg-sysvinit-devel] Bug#673453: initscripts: symlinking /etc/mtab to /proc/mounts breaks autofs with ntfs-3g (all fuse?)

hriase1 at post-ist-da.de hriase1 at post-ist-da.de
Fri May 18 18:58:26 UTC 2012


Package: initscripts
Version: 2.88dsf-22.1
Severity: normal

I've an executable automount map to mount disk partitions by label.
The automount map returns e.g. for my NTFS partition labelled 'windows':

# /etc/auto.disk windows
-fstype=ntfs-3g,uid=0,gid=1003,fmask=117,dmask=007,nodev,noexec,nosuid,noatime,nodiratime :/dev/sda4

This worked well when /etc/mtab was an ordinary file. With mtab being a
symlink to /proc/mounts, this fails:

# cd /disk/windows
-su: cd: /disk/windows: No such file or directory

No syslog entry was produced.

An ext3 partition however can still be accessed that way. So maybe the problem
is just with fuse filesystems...

Autofs version is autofs5-5.0.4-3.2+b1, other packages' versions see below.


-- 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 at euro, LC_CTYPE=de_DE at 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





More information about the Pkg-sysvinit-devel mailing list