Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 297233

Summary: sys-apps/util-linux does not search for mount helpers in /usr/bin ($PATH)
Product: Gentoo Linux Reporter: Bruce Schultz <brulzki>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: katabami
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2889
Whiteboard:
Package list:
Runtime testing required: ---

Description Bruce Schultz 2009-12-16 23:17:54 UTC
mount -t fuse.ntfs fails because mount can't find the helper program mount.fuse.ntfs which is in /usr/bin. According to the mount man page, it should be in /sbin.

# mount -t fuse.ntfs /dev/sdd2 /mnt/tmp
mount: wrong fs type, bad option, bad superblock on /dev/sdd2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Creating the symlink in /sbin fixes the error above
# ln -s /usr/bin/ntfsmount /sbin/mount.fuse.ntfs

For some reason, the ntfsprogs-2.0.0-r1.ebuild is moving the mount helper program links from /sbin to /usr/bin. That seems to be the causes of the problem.

src_install() {
  ...
  mv "${D}"/sbin/mount.{fuse.ntfs,ntfs-fuse} "${D}"/usr/bin/ || die
 ...
}


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2010-03-05 21:50:21 UTC
upstream has accepted my patch for --enable-fs-paths configure options and will be in the next release.  it's easier if we just wait for that.  i'm lazy.
Comment 2 SpanKY gentoo-dev 2010-03-23 20:17:13 UTC
*** Bug 307853 has been marked as a duplicate of this bug. ***