[pkg-nvidia-devel] Bug#574255: nvidia-kernel-common: Incorrect check for NVIDIA_DEVICE in udev rule, every device is now +rw for console users

Anton Kovalenko anton at sw4me.com
Wed Mar 17 04:46:44 UTC 2010


Package: nvidia-kernel-common
Version: 20100216+3
Severity: important

The following line in /lib/udev/rules.d/60-nvidia-kernel-common.rules 
is meant to skip the rest of the file for non-nvidia devices:
ENV{NVIDIA_DEVICE}=="0", GOTO="nvidia_end"

Unfortunately, it doesn't work this way (ENV{NVIDIA_DEVICE} is normally 
empty and never "0"). Consequently, each user registered with consolekit
is added into device ACL (with r/w access) for each and every device on
the system, like /dev/sda etc.

Obvious fix: ENV{NVIDIA_DEVICE}!="1" should work as intended.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-1.dmz.1-liquorix-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nvidia-kernel-common depends on:
ii  module-init-tools            3.12~pre2-1 tools for managing Linux kernel mo

nvidia-kernel-common recommends no packages.

nvidia-kernel-common suggests no packages.

-- no debconf information





More information about the Pkg-nvidia-devel mailing list