Swap Space Not Being Used?

Tod Merley todbot88 at gmail.com
Fri Sep 22 16:13:12 UTC 2006


On 9/22/06, Paul Howarth <paul at city-fan.org> wrote:
> Rick Bilonick wrote:
> > OK, I rebooted but still get:
> >
> >> dmesg | grep swap
> >
> > Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
> > resume2=swap:/dev/hda6
> > audit(1158902797.697:4): avc:  denied  { unlink } for  pid=1852
> > comm="swapon" name="blkid.tab.old" dev=dm-0 ino=1736154
> > scontext=system_u:system_r:fsadm_t tcontext=root:object_r:etc_t
> > tclass=file
> > audit(1158902797.809:5): avc:  denied  { unlink } for  pid=1852
> > comm="swapon" name="blkid.tab.old" dev=dm-0 ino=1736154
> > scontext=system_u:system_r:fsadm_t tcontext=root:object_r:etc_t
> > tclass=file
>
> /etc/blkid.tab.old appears to be labelled etc_t instead of etc_runtime_t.
>
> This should fix the AVCs:
>
> # restorecon -v /etc/blkid.*
>
> Paul.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Hi Paul Howarth!

This looks like the very correct answer!

Any suggestions for those of us learning SELinux?

Thanks!

Tod




More information about the fedora-list mailing list