Bug 163332

Summary: hald_t unable to umount removable_t
Product: [Fedora] Fedora Reporter: Ilya Konstantinov <ilya.konstantinov>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.25.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-19 08:30:55 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 Ilya Konstantinov 2005-07-15 08:58:31 UTC
Description of problem:
hald_t is unable to unmount a device marked as removable_t.
Resulting log message:
audit(1121414202.337:47): avc:  denied  { unmount } for  pid=7890 comm="umount"
scontext=system_u:system_r:hald_t tcontext=system_u:object_r:removable_t
tclass=filesystem

Version-Release number of selected component (if applicable):
selinux-policy-targeted-1.25.1-9

How reproducible:
Always.

Steps to Reproduce:
1. Insert a removable device (e.g. USB storage device).
2. Wait for it to mount and appear on your desktop.
3. Surprise-remove it (i.e. without umounting).
4. Watch the kernel log for failure to umount.

Comment 1 Daniel Walsh 2005-07-20 14:18:50 UTC
Fixed in selinux-policy-targeted-1.25.3-1