Public bug reported:

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
which includes the bugfix of autofs-5.10
http://www.spinics.net/lists/autofs/msg01018.html

Is it possible to get a fix for this in Ubuntu as the Fedora-Fix, or the
upstream fix from autofs?

I did change the category from mount.ntfs3g to autofs, since there seems
to be a debian bug referencing to a autofs fix which I found just after
I submitted this - please apologize.

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

** Description changed:

  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:
+ Reference: Fedora Fix
  
https://admin.fedoraproject.org/updates/FEDORA-2015-0613/ntfs-3g-2014.2.15-7.fc21
  
  Is it possible to get a fix for this in Ubuntu as the Fedora-Fix?

** Description changed:

  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?

** Package changed: ntfs-3g (Ubuntu) => autofs (Ubuntu)

** Description changed:

  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
+ which includes the bugfix of autofs-5.10
+ http://www.spinics.net/lists/autofs/msg01018.html
  
- Is it possible to get a fix for this in Ubuntu as the Fedora-Fix?
+ Is it possible to get a fix for this in Ubuntu as the Fedora-Fix, or the
+ upstream fix from autofs?
+ 
+ I did change the category from mount.ntfs3g to autofs, since there seems
+ to be a debian bug referencing to a autofs fix which I found just after
+ I submitted this - please apologize.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1448678

Title:
  ntfs3g -s option should be ignored, making autofs mounts failing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1448678/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to