Bug 53447
Summary: | console.perms trashes the nVidia driver | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Florin Andrei <florin> |
Component: | pam | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED NOTABUG | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | mharris |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-10-31 20:41:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Florin Andrei
2001-09-09 04:34:18 UTC
I don't understand how permissions would affect this. If the server is running either as the console user or the superuser (and on my system it runs as the superuser when I log in as myself), the permissions on the device shouldn't make any difference, and non-console users should have no use for the device anyway. I'd like some more information before making this change. That's actually very simple: get a PC, put an nVidia card on it, install RH 7.1, install nVidia drivers. Then play with it, especially with switching between plain text mode and X Window. It will crash, more like sooner than later. :-) If you look at the permissions on /dev/nvidia* they are 0600. For a reason that i cannot understand, once you make the changes to console.perms so that the permissions are setup to 0666, the crashes disappear without ever returning. This has been seen by many other people (it's been a huge thread on our local LUG's mailing list), with a lot of "geezus, thanks!" once the solution was posted. It's 100% reproducible on all my systems. I have been contacted by Nvidia about this also. This is NOT a bug in pam, or XFree86. It is a bug in the Nvidia drivers themselves. With DRI, the X server creates the device files in /dev with the permissions specified. The Nvidia driver does not do this properly with their /dev/nvidia driver, and as such, the problem manifests itself. Changing this creates a potential security problem, and Nvidia should know how to properly fix it in their driver. If not, they have several DRI drivers open source source code that they can look at to see how it is done. |