Re: smartd and 3ware

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

 



On Sun, Jan 16, 2011 at 21:54, Dominick Grift <domg472@xxxxxxxxx> wrote:
> On Sun, Jan 16, 2011 at 09:47:10PM +0100, Ruben Kerkhof wrote:
>> On Sun, Jan 16, 2011 at 21:25, Dominick Grift <domg472@xxxxxxxxx> wrote:
>>
>> > The boolean seems to imply that smartd actually creates the device.
>> > I am not too familiar with smartd but i guess it did not create the device node in your case
>> >
>>
>> Exactly, I disabled smartd and rebooted the box, and the device nodes
>> are there. So it seems to me that it's either udev or the kernel which
>> creates them.
>
> Does dmesg show anything related to this device?
>
> Look for lines similar to this:
>
> SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
>

Nothing specific:

[ruben@ev003 ~]$ dmesg | grep genfs
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts
SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev proc, type proc), uses genfs_contexts

Looking at the 3ware driver (drivers/scsi/3w-9xxx.c) it looks it is
responsible for creating the character devices, using register_chrdev.
Since /dev is labeled device_t, /dev/twa* ends up as device_t too.

No idea how to go from here... should udev relabel it?

Thanks,

Ruben
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux