Relabeling nfs_t files

Orion Poplawski orion at cora.nwra.com
Thu Apr 20 20:48:44 UTC 2006


I have a problem where occasionally files end up with the nfs_t context 
on local filesystems, presumably due to folks moving them there off of 
nfs mounts.  However, these files cannot be backed up by amanda.  My 
thought was to run restorecon or fixfiles regularly on the directory 
tree to reset the context, but I get:

audit(1145565590.726:16283): avc:  denied  { getattr } for  pid=22182 
comm="restorecon" name="TT_v2.mat" dev=sda1 ino=204482 
scontext=root:system_r:restorecon_t tcontext=system_u:object_r:nfs_t 
tclass=file

So, what to do?

Thanks!




More information about the fedora-selinux-list mailing list