swapfile is not automatically enabled

Dawid Gajownik gajownik at fedora.pl
Tue Mar 14 15:14:13 UTC 2006


Hi!

I see these AVC messages when system wants to enable swapfile on boot:

type=AVC msg=audit(1142323714.305:7): avc:  denied  { getattr } for 
pid=1921 comm="fstab-sync" name="swapfile" dev=hda5 ino=881811 
scontext=system_u:system_r:updfstab_t tcontext=root:object_r:swapfile_t 
tclass=file
type=AVC_PATH msg=audit(1142323714.305:7):  path="/var/swapfile"

OS: FC4
selinux-policy-targeted: 1.27.1-2.22

Everything works fine if I boot with `enforcing=0' kernel option. That 
is more, default SELinux policy in FC5 does not cause such a problems.

How can I fix it?

Regards,
	Dawid

-- 

   ^_*




More information about the fedora-selinux-list mailing list