Re: Swap Space Not Being Used?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/22/06, Paul Howarth <paul@xxxxxxxxxxxx> 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@xxxxxxxxxx
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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux