Re: 3ware RAID selinux smartd

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

 



Kevin H. Hobbs wrote:
On Fri, 2007-03-02 at 12:00 -0500, fedora-list-request@xxxxxxxxxx wrote:
semanage fcontext -a -t fixed_device_t -f "-c" "/dev/twa[0-9]*"


Will load the file context and then you need to restart udev and it should get labeled correctly.


I don't think it liked fixed_device_t. It seemed to like
fixed_disk_device_t though. There seem to be a lot of those hanging
about in /dev. I don't know how to restart udev so I set the context
myself :

sudo chcon user_u:object_r:fixed_disk_device_t /dev/twa*

Sorry my mistake. Fingers and brain not connected. fixed_disk_device_t is correct.
I restarted smartd and it now can access the disks.

I asked the same question on my local LUG and got two suggestions:

  1. Put a rule in /etc/udev/rules.d/. This will take me a while to
figure out.
  2. Try the 3DM2 tool from 3ware. This thing is really slick, but not
free, not rpm, ...

Thanks for the help!

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux