[Bug 808319] New: default user has unsufficient privileges for nvidia 3rd party driver
https://bugzilla.novell.com/show_bug.cgi?id=808319 https://bugzilla.novell.com/show_bug.cgi?id=808319#c0 Summary: default user has unsufficient privileges for nvidia 3rd party driver Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: X11 3rd Party Driver AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rommel@suse.com QAContact: sndirsch@suse.com Found By: Component Test Blocker: --- When using the NVidia 3rd party driver I found that the default user (the one that I added during the installation of the product) has unsufficient rights. GL applications report that they can't operate /dev/nvidiactl. With GNOME x86_64 I was even unable to start gnome from GDM (got a blank screen with a mouse pointer). Both of these issue could resolved by adding the user to group video. I think this should be the default as this driver is quite common/required these days ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c2
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c3
Thorsten Kukuk
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c4
--- Comment #4 from Stefan Dirsch
It did not got lost, I was told that this is no longer necessary.
May I ask who told you this?
Between, this hack did only work for local accounts, never for NIS, LDAP, Samba or anything else. Means it did not even work in our SUSE network.
Yes, it only works for local users (unless you add the NIS users to the video group manually). It has been a compromise between using /etc/modprobe.de/50-nvidia.conf options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=33 NVreg_DeviceFileMode=0660 (restricts permissions to NVIDIA's devices to members of video group) and having it working at least with the default user. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c6
--- Comment #6 from Thorsten Kukuk
(In reply to comment #3)
It did not got lost, I was told that this is no longer necessary.
May I ask who told you this?
Don't remember anymore who was all involved, but it was a discussion about all the groups we did add in the past, and the conclusion was, that it does not make sense to have a group and groupable devices, if everybody is a member of this group. In that case we can make them world-writeable, too. The other groups like audio, media, etc. are handled by policykit?, hal or whatever else, and I don't understand why it should not be possible here, too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c7
Stefan Dirsch
May I ask who told you this?
Don't remember anymore who was all involved, but it was a discussion about all the groups we did add in the past, and the conclusion was, that it does not make sense to have a group and groupable devices, if everybody is a member of this group. In that case we can make them world-writeable, too.
Yes, please!
The other groups like audio, media, etc. are handled by policykit?, hal or whatever else, and I don't understand why it should not be possible here, too.
Honestly, I have no clue how policykit works, what it can do and how it is configured and/or it can be programmed. Who is willing to teach me this? What we need is something, which changes the permissions of the NVIDIA devices (/dev/nvidia* and /dev/nvidiactl) to the logged in user during login. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c8
--- Comment #8 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c9
--- Comment #9 from Stefan Dirsch
Actually, udev creates the devices and hooks them into the login/device management framework.
Right, this is what OpenSource DRI drivers are doing. Possibly also the fglrx driver.
Sadly the problem still stands that NVIDIA binary driver is not allowed to use the udev methods due to the GPL.
Now I remember again NVIDIA me telling once, that they would like to use this framework, but can't due to GPL_ONLY exported symbols.
This will make it hard to hook into it.
Exactly. Is there still resmgr alive? Could it be done that way? Or with some weird PAM module running during graphical login? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c10
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c11
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c12
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c13
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c14
--- Comment #14 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c15
--- Comment #15 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c16
--- Comment #16 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c17
--- Comment #17 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c18
--- Comment #18 from Dmitry Roshchin
OK, we could try something like:
in 70-uaccess.rules: SUBSYSTEM=="video", KERNEL=="nvidia*", TAG+="uaccess"
Could the reported add this line to /usr/lib/udev/70-uaccess.rules and of course try it out?
Doesn't work for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c19
--- Comment #19 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c20
--- Comment #20 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c21
--- Comment #21 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c22
--- Comment #22 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c23
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c24
--- Comment #24 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c25
--- Comment #25 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c26
--- Comment #26 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c27
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c28
--- Comment #28 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c29
--- Comment #29 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c30
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c31
--- Comment #31 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c32
--- Comment #32 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c33
Frederic Crozat
Frederic?
Ludwig posted his patch to systemd upstream, I was waiting for their comments. But I'm not opposed to it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c34
--- Comment #34 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c35
--- Comment #35 from Episteme PROMENEUR
Kay posted an alternative patch. It requires some kernel module hack and additional udev rules but could be used for the job. http://people.freedesktop.org/~kay/0001-udev-export-dead-device-nodes-to-run...
i hope opensuse will port the hack to its kernel because it can be a long time to port a hack to the official kernel. i worked about a gspca_stv06xx driver hack. this hack is ready to be ported since kernel 3.4. No port to 3.5, 3.6, 3.7, 3.8 . Recently i learned that it will be ported to kernel 3.9 ! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c36
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c37
--- Comment #37 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c39
--- Comment #39 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c40
--- Comment #40 from Heiko Rommel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c41
--- Comment #41 from Heiko Rommel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c42
--- Comment #42 from Heiko Rommel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c43
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c44
--- Comment #44 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c45
--- Comment #45 from Frederic Crozat
user:tux:rw- looks good for ACL.
So lets go???
Yes, I'll push it as part of next systemd maintenance update (either this week or early next week). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c46
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c47
--- Comment #47 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c48
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c49
--- Comment #49 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c50
--- Comment #50 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c51
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c52
Wolfgang Bauer
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c
Thorsten Kukuk
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c53
--- Comment #53 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c54
--- Comment #54 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c55
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c56
--- Comment #56 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c57
--- Comment #57 from Wolfgang Bauer
please test package in http://download.opensuse.org/repositories/home:/fcrozat:/branches:/openSUSE:...
I've modified the nvidia ACL patch to apply ACL to /dev/nvidia* when /dev/nvidiactl exists. Not pretty but it seems to work.
I tried those packages on my system with NVIDIA card on /dev/nvidia0. But they don't seem to work, I get this: armada@linuxi:~> getfacl /dev/nvidia* getfacl: Entferne führende '/' von absoluten Pfadnamen # file: dev/nvidia0 # owner: root # group: video user::rw- group::rw- other::--- # file: dev/nvidiactl # owner: root # group: video user::rw- user:armada:rw- group::rw- mask::rw- other::--- So /dev/nvidia0 doesn't get the ACL. Note that it does work correctly with the standard packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c58
--- Comment #58 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c59
--- Comment #59 from Frederic Crozat
Isn't this:
if (!devnode_acl("/dev/nvidiactl", flush, del, old_uid, add, new_uid)) {
suppose to be:
if (devnode_acl("/dev/nvidiactl", flush, del, old_uid, add, new_uid)) {
devnode_acl should return 0 on success and a non-zero value on error (a negative value, to be more precise). This is strange because I've redone my test and if /dev/nvidiactl exists, ACL are correctly applied on /dev/nvidia* (In reply to comment #57)
So /dev/nvidia0 doesn't get the ACL. Note that it does work correctly with the standard packages.
Hmm, in your trace, /dev/nvidiactl get correctly ACL but not /dev/nvidia0.. Did you reboot after installing the update ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c60
--- Comment #60 from Wolfgang Bauer
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c61
--- Comment #61 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c62
--- Comment #62 from Wolfgang Bauer
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c63
--- Comment #63 from Wolfgang Bauer
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c64
--- Comment #64 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c65
--- Comment #65 from Frederic Crozat
FWIW instead of reading the whole directory into memory an alternative hack would be to just set acl on nvidia0, nvidia1 etc until it fails.
Well, I wasn't sure if there could be a "hole" in the numbering. And reading /dev shouldn't be very costly, since it is a tmpfs file system.. We could also use glob matching but its usage is really painful :( Wolfgang's "directory" content seems a bit small.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c66
--- Comment #66 from Wolfgang Bauer
Wolfgang's "directory" content seems a bit small..
Well, if I understand the code right, get_files_in_directory() returns a maximum of 16 files. systemd-195/src/shared/util.c:5026 if ((unsigned) r >= n) { char **t; n = MAX(16, 2*r); // <------------------------- t = realloc(l, sizeof(char*) * n); if (!t) { r = -ENOMEM; goto finish; } l = t; } assert((unsigned) r < n); So the list gets a maximum of 16 entries. I guess you were just lucky in your test... ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c67
--- Comment #67 from Frederic Crozat
(In reply to comment #65)
Wolfgang's "directory" content seems a bit small..
Well, if I understand the code right, get_files_in_directory() returns a maximum of 16 files.
So the list gets a maximum of 16 entries.
I guess you were just lucky in your test... ;)
Indeed, sorry for that. I'll rework the code to use the solution suggested by Ludwig.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c68
--- Comment #68 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c69
--- Comment #69 from Wolfgang Bauer
I've pushed a fixed version on OBS.
Please test it (same repository, should be available in few minutes)
Sorry for the delay! I tried the new packages and they work fine here: armada@linuxi:~> getfacl /dev/nvidia* getfacl: Entferne führende '/' von absoluten Pfadnamen # file: dev/nvidia0 # owner: root # group: video user::rw- user:armada:rw- group::rw- mask::rw- other::--- # file: dev/nvidiactl # owner: root # group: video user::rw- user:armada:rw- group::rw- mask::rw- other::--- armada@linuxi:~> rpm -q systemd systemd-195-13.48.1.i586 Can't test for /dev/nvidia1 and up though, I don't have such a system... But at least there's no regression anymore for /dev/nvidia0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c70
--- Comment #70 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c71
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c72
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c73
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c74
--- Comment #74 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c75
--- Comment #75 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c76
--- Comment #76 from Stefan Dirsch
for Factory, udev / systemd / kmod just gained ability to create and handle "dead" devices nodes (ie not created by udev), if they are added in /lib/modules/
/kernel.devname. Would it be possible to add those to nvidia driver for Factory, so we wouldn't have to special case nvdia driver in logind ?
Hmm. Qestion is directed to yourself?
Not sure what needs to be added to
/lib/modules/
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c77
--- Comment #77 from Frederic Crozat
(In reply to comment #75)
for Factory, udev / systemd / kmod just gained ability to create and handle "dead" devices nodes (ie not created by udev), if they are added in /lib/modules/
/kernel.devname. Would it be possible to add those to nvidia driver for Factory, so we wouldn't have to special case nvdia driver in logind ?
Hmm. Qestion is directed to yourself?
no, to people with more knowledge in the nvidia driver than me :)
Not sure what needs to be added to /lib/modules/
/kernel.devname. Is it really called "kernel.devname"? How to add these entries? During %post of KMP to /lib/modules/*/kernel.devename?
kernel.devname is created by depmod -a, based on "devname:" field in the alias for each module. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c78
--- Comment #78 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c79
--- Comment #79 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c80
--- Comment #80 from Daniel Dadap
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c81
--- Comment #81 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c82
--- Comment #82 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c83
--- Comment #83 from Daniel Dadap
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c85
--- Comment #85 from Ludwig Nussel
I don't think the devname MODULE_ALIASes will work: [...] It doesn't look like this supports more than one device file per kernel module. Indeed, I tried adding MODULE_ALIAS lines, and only one devname line was created after recompiling the kernel module and running depmod, despite having several devname aliases in the kernel module.
You are right :-( So you'd either need an extra dummy module for each device node or fix depmod to output all aliases. The fix for the latter looks rather straight forward.
As for the ACLs only being applied for users logged into the local active console, that may be pretty inconvenient for CUDA users. Stefan/Ludwig, can I bring you into a discussion with our CUDA group about this?
I'm not sure what you expect from me there but sure, feel free to. Note that the method of adding users to the video group to be able to access those devices doesn't go away, it's just not used nor necessary by default anymore. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c88
--- Comment #88 from Daniel Dadap
The fix for the latter looks rather straight forward.
How do you propose that the association between a given MODULE_ALIAS_CHARDEV() and its corresponding MODULE_ALIAS("devname:*") should be enforced, when there are several device files to handle? Relying on the order in which these are given when there is more than one pair doesn't seem so safe to me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c89
Wolfgang Bauer
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c90
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c91
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c92
--- Comment #92 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c93
--- Comment #93 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c94
--- Comment #94 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c95
--- Comment #95 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c96
--- Comment #96 from Rick Salevsky
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c97
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c98
--- Comment #98 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c99
--- Comment #99 from Wolfgang Bauer
Indeed, I've updated the fix in http://download.opensuse.org/repositories/home:/fcrozat:/branches:/openSUSE:... I can confirm that those packages work fine on my nvidia system as expected.
The standard 13.1 packages show the wrong behaviour as in comment#57. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c100
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=808319
https://bugzilla.novell.com/show_bug.cgi?id=808319#c101
--- Comment #101 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com