Bug 231459 - Right click/Eject on CDROM from gnome desktop fails to eject
Right click/Eject on CDROM from gnome desktop fails to eject
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: hal (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Zeuthen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-08 10:17 EST by Tom London
Modified: 2013-03-05 22:49 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-28 10:40:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tom London 2007-03-08 10:17:59 EST
Description of problem:
Right clicking and selecting 'Eject' on cdrom on gnome desktop unmounts the cd,
but fails to eject.  An error popup appears.....

(Running SELinux targeted/enforcing)

The following appears in /var/log/messages:


Mar  8 06:58:09 localhost setroubleshoot:      SELinux is preventing
/usr/sbin/userhelper (hald_t) "write" to eject (etc_t).      For complete
SELinux messages. run sealert -l 0fa5c1a3-cca3-49cd-8608-7a7b5a545312
Mar  8 06:58:09 localhost setroubleshoot:      SELinux is preventing
/usr/sbin/userhelper (hald_t) "setexec" access to <Unknown> (hald_t).      For
complete SELinux messages. run sealert -l aa87c6fa-6163-4a1b-a62f-38e657c87d6f

complete AVC:

type=AVC msg=audit(1173365886.796:29): avc:  denied  { setexec } for  pid=4044
comm="userhelper" scontext=system_u:system_r:hald_t:s0
tcontext=system_u:system_r:hald_t:s0 tclass=processtype=SYSCALL
msg=audit(1173365886.796:29): arch=40000003 syscall=4 success=no exit=-13 a0=4
a1=8dcea48 a2=1c a3=43469be9 items=0 ppid=4043 pid=4044 auid=4294967295 uid=0
gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) comm="userhelper"
exe="/usr/sbin/userhelper" subj=system_u:system_r:hald_t:s0 key=(null)

Version-Release number of selected component (if applicable):
usermode-1.87-3

How reproducible:
Every time

Steps to Reproduce:
1. right click on cdrom icon on gnome desktop
2. select 'eject'
3.
  
Actual results:
CD is unmounted, error popup, eject fails.

Expected results:


Additional info:
Comment 1 Daniel Walsh 2007-03-09 09:07:45 EST
The problem is the hal patch to use /usr/sbin/eject instead of /usr/bin/eject
was dropped, in the devel branch.  Please read the patch.

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