Bug 187228 - kio_media_mounthelper fails with "sh: /bin/fuser: No such file or directory"
Summary: kio_media_mounthelper fails with "sh: /bin/fuser: No such file or directory"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-29 12:25 UTC by Craig McLean
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-07-11 14:20:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Craig McLean 2006-03-29 12:25:47 UTC
Description of problem:
kio_media_mounthelper -u <url> on mounted device while the mountpoint is busy
results in the above error. This is because it's looking for fuser in the wrong
place.

Version-Release number of selected component (if applicable):
kdebase-3.5.1-5. 

How reproducible:

Every time.

Steps to Reproduce:

Connect USB drive, allow to mount with kio_media_mounthelper
cd to mountpoint
kio_media_mounthelper -u <url>

Actual results:

Fails due to missing /bin/fuser (fuser is in /sbin)

Expected results:

fuser should allow mounthelper to generate an error dialog detailing processes
holding mountpoint busy.

Additional info:
Suggest we either alter kio_media_mounthelper to be a little more flexible about
the location of fuser.
At a pinch, creating a symlink from /sbin/fuser to /bin/fuser will get rid of
the problem.

Comment 1 David Anderson 2006-06-19 17:14:16 UTC
I get the same issue. I reported it at the KDE bugzilla, and it was closed as 
invalid, because they say they don't use fuser, and said it must be a Fedora 
specific patch.

http://bugs.kde.org/show_bug.cgi?id=126197

(This is a re-post after the Bugzilla data-loss crash of June 2006).

Comment 2 Than Ngo 2006-06-20 10:22:26 UTC
it's now fixed in our CVS. The fix will be included in next kdebase rebuild 
for FC5 update. You should please add the symlink fuser to /bin/ temporary as 
the quick workaround.

Thanks for your report.


Note You need to log in before you can comment on or make changes to this bug.