Package: tpb
Version: 0.6.4-4
Severity: important
Tags: patch

Presently tpb has a udev rule with a default priority of 60. On my system,
there is a rule lib/udev/rules.d/91-permissions.rules that resets the group
ownership of /dev/nvram to kmem, effectively overwriting the effect of the
60-tpb.rules.

When udev runs 91-permissions.rules and resets /dev/nvram to be group owned by
kmem, tpb will no longer run in user space (unless I add the user to the kmem
group).

The fix is simply to have dh_installudev run with a priority greater than 91.

A patch is attached.


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

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tpb depends on:
ii  adduser                       3.112      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libice6                       2:1.0.6-1  X11 Inter-Client Exchange library
ii  libsm6                        2:1.1.1-1  X11 Session Management library
ii  libx11-6                      2:1.3.3-1  X11 client-side library
ii  libxext6                      2:1.1.1-2  X11 miscellaneous extension librar
ii  libxinerama1                  2:1.1-2    X11 Xinerama extension library
ii  libxosd2                      2.2.14-1.7 X On-Screen Display library - runt

tpb recommends no packages.

Versions of packages tpb suggests:
pn  xfonts-base-transcoded        <none>     (no description available)

-- debconf information:
  tpb/groupchanged:
  tpb/autostart: true
--- debian.old/rules    2010-02-10 03:14:41.000000000 +0000
+++ debian.new/rules    2010-02-10 03:06:15.000000000 +0000
@@ -73,7 +73,7 @@
        cp debian/tpb.xsession debian/tpb/etc/X11/Xsession.d/90tpb
        dh_installdebconf
        dh_installdocs
-       dh_installudev
+       dh_installudev --priority=92
 #      dh_installexamples
 #      dh_installmenu
 #      dh_installlogrotate

Reply via email to