smartd and 3ware
Ruben Kerkhof
ruben at rubenkerkhof.com
Sun Jan 16 17:03:54 UTC 2011
On Sun, Jan 16, 2011 at 16:46, Tom Diehl <tdiehl at rogueind.com> wrote:
> On Sun, 16 Jan 2011, Ruben Kerkhof wrote:
>
>> I'm getting some AVC's when smartd starts and tries to read the 3ware
>> character devices /dev/twa[0-9]
>>
>> The boolean smartmon_3ware is on.
>
> Is this something that was added recently? I do not see it on any
> of the machines I have running here but since most of my machines are el5
> with only 1 running fedora, maybe I am too far behind.
This is fairly recent indeed:
wodan:selinux-policy ruben$ git log -Ssmartmon_3ware
commit b84d6ec491555e8fe877e18f4cdf1f71c0e06d35
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Fri Dec 18 10:33:50 2009 -0500
smartmon patch from Dan Walsh.
>
>> Running restorecon on the character devices relabels the character
>> devices to fixed_device_disk_t and everything works fine, but
>> something is labeling them as device_t at boot.
>
> I am seeing this exact issue on el5. If I run restorecon after a reboot
> the AVCs go away but when the machine is rebooted they return.
>
> Regards,
>
> --
> Tom Diehl tdiehl at rogueind.com Spamtrap address
> mtd123 at rogueind.com
>
Regards,
Ruben
More information about the selinux
mailing list