FC4: losetup does not work anymore

Russell Coker russell at coker.com.au
Mon Jun 27 03:14:35 UTC 2005

On Friday 17 June 2005 05:26, Stefan Hoelldampf <stefan at hoelldampf.net> wrote:
> 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
> tclass=dir
> loop: can't open device test.img: Permission denied

In the strict policy it's always been this way.  Probably the correct solution 
is to have losetup policy and not have it run as fsadm_t.

http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

More information about the fedora-selinux-list mailing list