30 Jun 2005

General No Comments

Fedora Core 4 and selinux

Frustrated. FC4 broke some hardware-related software because of the restrictive “targeted” policy. Had to add more rules, like:

allow hald_t usbfs_t:dir read;
allow hald_t usbfs_t:file { ioctl write };
allow bluetooth_t self:socket { read write };
allow bluetooth_t self:socket { accept getattr getopt };
allow bluetooth_t self:capability { dac_override dac_read_search };
allow bluetooth_t self:file read;

So, now hald addon can read wireless mouse battery status, now, bluetooth service can start properly. But noone guarantees that’s the end of the story:(