Bug 265801

Summary: fuser command not found by kio_media_mounthelper
Product: [Fedora] Fedora Reporter: Wojciech Pilorz <wpilorz>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 6CC: rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-30 13:32:22 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 Wojciech Pilorz 2007-08-29 22:49:30 UTC
Description of problem:
When a button is pressed on a CD/DVD drive with mounted media,
kio_media_mounthelper displays it cannot found
fuser command (trying to determine, wheter the mounted 
  filesystem is in use)
The exact message is
/usr/bin/env: fuser: No such file or directory

Version-Release number of selected component (if applicable):
kdebase-3.5.7-0.1.fc6.i386

How reproducible:
Always on fc6+kde, non-root user

Steps to Reproduce:
1. mount a CD or DVD using mount command
2. press eject button on CD/DVD drive
3. watch kio_media_mounthelper window contents
  
Actual results:
fuser is called without path, however, fuser is not in $PATH
for non-root user

Expected results:
Should display processed using media

Additional info:
as a workaround, because ~/bin is in $PATH,
after
ln -s /sbin/fuser ~/bin
the kio_media_mounthelper message is as expected (fuser successfully called)
BTW. 
My setup is modified so that media does not get automatically mounted,

Comment 1 Rex Dieter 2007-08-29 23:09:21 UTC
Right, fuser is only in root's path.

Coulda sworn we had patched to fix this?? Will take a closer look.

Comment 2 Than Ngo 2007-08-30 13:32:22 UTC
it's fixed in rawhide.