swapfile is not automatically enabled

Daniel J Walsh dwalsh at redhat.com
Tue Mar 14 15:37:37 UTC 2006


Dawid Gajownik wrote:
> 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
>
Does this cause a problem that you can see or are you just seeing the 
AVC message?




More information about the fedora-selinux-list mailing list