[Bug 1448678] [NEW] ntfs3g -s option should be ignored, making autofs mounts failing

Launchpad Bug Tracker 1448678 at bugs.launchpad.net
Sun Apr 26 13:52:07 UTC 2015


You have been subscribed to a public bug:

I've troubled some with mounting ntfs-3g file systems with autofs.

AutoFS passes the sloppy option (-s) to mounts, which is actually a
valid thing since mount is to behave on all filesystems the same option-
whise. Though, the ntfs-3g filesystem does not support it, and fails on
it, which it should not. This is in my opinion a misbehaviour of
mount.ntfs3g, because it should just ignore the option and NOT exit.

handle_packet_missing_indirect: token 7, name Elements, request pid 1882
attempting to mount entry /media/usb/Elements
lookup_mount: lookup(file): looking up Elements
lookup_mount: lookup(file): Elements -> -fstype=ntfs-3g,gid=100,dmask=002,fmask=113,utf8,flush,rw,noatime,user  :/dev/Elements
parse_mount: parse(sun): expanded entry: -fstype=ntfs-3g,gid=100,dmask=002,fmask=113,utf8,flush,rw,noatime,user :/dev/Elements
parse_mount: parse(sun): gathered options: fstype=ntfs-3g,gid=100,dmask=002,fmask=113,utf8,flush,rw,noatime,user
parse_mount: parse(sun): dequote(":/dev/Elements") -> :/dev/Elements
parse_mount: parse(sun): core of entry: options=fstype=ntfs-3g,gid=100,dmask=002,fmask=113,utf8,flush,rw,noatime,user, loc=:/dev/Elements
sun_mount: parse(sun): mounting root /media/usb, mountpoint Elements, what /dev/Elements, fstype ntfs-3g, options gid=100,dmask=002,fmask=113,utf8,flush,rw,noatime,user
do_mount: /dev/Elements /media/usb/Elements type ntfs-3g options gid=100,dmask=002,fmask=113,utf8,flush,rw,noatime,user using module generic
mount_mount: mount(generic): calling mkdir_path /media/usb/Elements
mount_mount: mount(generic): calling mount -t ntfs-3g -s -o gid=100,dmask=002,fmask=113,utf8,flush,rw,noatime,user /dev/Elements /media/usb/Elements
spawn_mount: mtab link detected, passing -n to mount
>> ntfs-3g: Unknown option '-s'.
>> ntfs-3g 2014.2.15AR.3 integrated FUSE 28 - Third Generation NTFS Driver
>>              Configuration type 7, XATTRS are on, POSIX ACLS are on
>> Copyright (C) 2005-2007 Yura Pakhuchiy
>> Copyright (C) 2006-2009 Szabolcs Szakacsits
>> Copyright (C) 2007-2014 Jean-Pierre Andre
>> Copyright (C) 2009 Erik Larsson
>> Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
>> Options:  ro (read-only mount), windows_names, uid=, gid=,
>>           umask=, fmask=, dmask=, streams_interface=.
>>           Please see the details in the manual (type: man ntfs-3g).
>> Example: ntfs-3g /dev/sda1 /mnt/windows
>> News, support and information:  http://tuxera.com
mount(generic): failed to mount /dev/Elements (type ntfs-3g) on /media/usb/Elements
dev_ioctl_send_fail: token = 7
failed to mount /media/usb/Elements

Reference: RedHat
https://bugzilla.redhat.com/show_bug.cgi?id=1180663

Reference: Fedora Fix
https://admin.fedoraproject.org/updates/FEDORA-2015-0613/ntfs-3g-2014.2.15-7.fc21

Reference: Debian (against autofs, not mount.ntfs3g)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773607

Is it possible to get a fix for this in Ubuntu as the Fedora-Fix?

** Affects: autofs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ntfs3g -s option should be ignored, making autofs mounts failing
https://bugs.launchpad.net/bugs/1448678
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu.



More information about the Ubuntu-server-bugs mailing list