Bug 187228

Summary: kio_media_mounthelper fails with "sh: /bin/fuser: No such file or directory"
Product: [Fedora] Fedora Reporter: Craig McLean <craig>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-11 14:20:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.