Package: autofs Version: 5.0.7-3 Severity: normal Dear Maintainer,
* What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** After an upgrade a while ago, autofs was no longer able to mount ntfs (ntfs-3g) filesystems. I only tracked this down today, and this is due to autofs using the "-s" mount option although it's not supported by ntfs. Specifically, this map entry: dosc -fstype=ntfs,iocharset=utf8,codepage=850,shortname=mixed,utf8,dmask=077,fmask=177 :/dev/disk/by-label/WIN7 can be mounted manually: mount -t ntfs -oiocharset=utf8,codepage=850,shortname=mixed,utf8,dmask=077,fmask=177 /dev/disk/by-label/WIN7 /mnt but trying to enter "dosc" gives "bash: cd: .../dosc: No such file or directory". strace'ing autofs reveals the reason: [pid 4237] execve("/sbin/mount.ntfs", ["/sbin/mount.ntfs", "/dev/sda1", "/fs/dosc", "-s", "-o", "rw,iocharset=utf8,codepage=850,shortname=mixed,utf8,dmask=077,fmask=177"], [/* 19 vars */]) = 0 the -s option doesn't exist for mount.ntfs - the mount manpage documents that -s isn't supported by all filesystems (and in fact, might be supported only by nfs): # "/sbin/mount.ntfs" "/dev/sda1" "/fs/dosc" -s -o rw,iocharset=utf8,codepage=850,shortname=mixed,utf8,dmask=077,fmask=177 ntfs-3g: Unknown option '-s'. I looked at the autofs manpage, but it wasn't immediatelly clear why it would add -s by default, or whether this is overridable. It definitely worked in the past, so this must be a relatively recent change. -- System Information: Debian Release: 7.5 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16-3-amd64 (SMP w/12 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages autofs depends on: ii libc6 2.19-1 ii libxml2 2.9.1+dfsg1-4 ii multiarch-support 2.13-38+deb7u4 ii ucf 3.0025+nmu3 Versions of packages autofs recommends: ii kmod 18-2 ii module-init-tools 9-3 ii nfs-common 1:1.2.6-4 autofs suggests no packages. -- debconf information excluded -- debsums errors found: debsums: changed file /usr/lib/x86_64-linux-gnu/autofs/mount_bind.so (from autofs package) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org