Swap-related AVC

Daniel J Walsh dwalsh at redhat.com
Fri Feb 24 14:54:01 UTC 2006


Emeric Maschino wrote:
> Hi,
>
> With up-to-date Rawhide, I'm getting the following AVC in
> my /var/log/messages file:
>
> Feb 23 20:40:34 zx6000 kernel: audit(1140723618.608:3): avc:  denied
> { write }
> for  pid=1340 comm="swapon" name="blkid.tab" dev=dm-0 ino=6253814
> scontext=system_u:system_r:fsadm_t:s0 tcontext=user_u:object_r:etc_t:s0
> tclass=file
> Feb 23 20:40:34 zx6000 kernel: Adding 2031584k swap
> on /dev/VolGroup00/LogVol01.  Priority:-2 extents:1 across:2031584k
>
> I don't know exactly when this problem first appears. It should be noted
> that, contrarily to what's displayed, my swap partition isn't 2GB in
> size, but 4GB.
>
> Is this a general/64-bit specific/ia64 specific issue?
>
>   
The AVC is general.  the inird is creating this file with the wrong context.
> Many thanks,
>
>         Émeric
>
>
>
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
>   






More information about the fedora-selinux-list mailing list