Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 160859 - losetup does not work with selinux-policy-targeted-1.23.16-6
Summary: losetup does not work with selinux-policy-targeted-1.23.16-6
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 4
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-06-17 20:52 UTC by Stefan Hoelldampf
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-06-21 10:41:40 UTC

Attachments (Terms of Use)

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

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