Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297233 - sys-apps/util-linux does not search for mount helpers in /usr/bin ($PATH)
Summary: sys-apps/util-linux does not search for mount helpers in /usr/bin ($PATH)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://thread.gmane.org/gmane.linux.u...
Whiteboard:
Keywords:
: 307853 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-16 23:17 UTC by Bruce Schultz
Modified: 2010-03-23 20:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***