Summary: | Lack of support for x11-drivers/nvidia-drivers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Niklas Haas <gentoo> |
Component: | SELinux | Assignee: | SE Linux Bugs <selinux> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | soap |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Niklas Haas
2015-08-02 19:19:28 UTC
We'll need a dev with an nVidia card to supply us with the necessary policy updates :-( The incorrect label of /dev/nvidia* is something we need to look into, because *usually* udev relabels the files it creates in /dev. When is /dev/nvidia* created - is it not at the same time as the other "regular" devices? I'm not sure how to debug that, but it probably happens when the nvidia module gets loaded. I'm not sure when exactly that is the case. There are some entries in /etc/modprobe.d/nvidia.conf, for that matter. (I'm using eudev rather than udev, in case it makes a difference.) I'm also experiencing this. I'm not sure what the options are in the modprobe.d conf file, I couldn't find a way to relabel it from there. My DM starts up just fine, but when I go to log in to KDE it doesn't actually allow the WM to function unless I relabel the NVidia-modeset file. It's the modeset device specifically for me, it gets labled as I think misc_dri_t or something along those lines automatically, it needs to be xserver_misc_device_t. From what I remember, when I used proprietary driver I used selinux_gentoo service which did restorecon on /dev on boot, not sure if it's present on recent systems. |