Bug 160859

Summary: losetup does not work with selinux-policy-targeted-1.23.16-6
Product: [Fedora] Fedora Reporter: Stefan Hoelldampf <stefan.hoelldampf>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: bugzilla.redhat.com
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-21 10:41:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Stefan Hoelldampf 2005-06-17 20:52:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
after the FC3->FC4 upgrade losetup does not work anymore:

# losetup /dev/loop0 test.img
audit(1118949662.609:50): avc:  denied  { search } for  pid=24032
comm="losetup" name=root dev=dm-0 ino=1775393
scontext=root:system_r:fsadm_t tcontext=root:object_r:user_home_dir_t
loop: can't open device test.img: Permission denied

# ls -alZ test.img
-rw-r--r--  root     root     root:object_r:user_home_t        test.img

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

How reproducible:

Steps to Reproduce:
1. see above

Additional info:

Comment 1 Nils Toedtmann 2005-06-20 13:02:46 UTC
This bug is a duplicate of #160755 (but has a better summary!)

Unfortunately i do not know how to mark this in the bugzila db :-(

Comment 2 Stefan Hoelldampf 2005-06-21 10:41:40 UTC
Fixed in selinux-policy-targeted-1.23.18-12