|Main Archive Page > Month Archives > fedora-selinux archives|
On 01/08/2011 07:22 PM, Jorge Fábregas wrote:
> Apart from the usual $HOME/.local/share/Trash mislabeled files warnings
> I'm getting (same as F12) these for /dev/nvidia* on Fedora 14:
> /dev/nvidia0 from system_u:object_r:device_t:s0 to
> /dev/nvidiactl from system_u:object_r:device_t:s0 to
> I don't know...maybe UDEV doesn't have the proper transition rules to
> create xserver_misc_device_t on directoy device_t? I fix the labels but
> when I restart they're created again with device_t.
Probably something broken in nvidia module that creates the device
rather then having udev create the device.
Fortunately there are some solutions for this issue.
1. You could add /dev/nvidia0 to /etc/selinux/restorecond.conf and run the
chkconfig restorecond --add
service restorecond start
2. If you see in the scripts where nvidiactl is created, you could add a
restorecon right afterwards.
> The desktop runs fine. It's just that obsession to have all files
> properly labeled :)
> selinux mailing list
-- selinux mailing list firstname.lastname@example.org https://admin.fedoraproject.org/mailman/listinfo/selinux