Since I've been asked/just for the record (Google etc.) this is what I
use for the time being:

$ diff -u /lib/udev/rules.d/70-acl.rules /etc/udev/rules.d/70-acl.rules
--- /lib/udev/rules.d/70-acl.rules      2010-07-12 03:24:40.000000000 +0200
+++ /etc/udev/rules.d/70-acl.rules      2010-08-24 00:14:16.770484449 +0200
@@ -72,14 +72,14 @@
 
 LABEL="acl_apply"
 
-ENV{ACL_MANAGE}!="1", GOTO="acl_end"
+ENV{ACL_MANAGE}=="1", TAG+="udev-acl"
 
 # Glib is not declared as a package dependency, so check that it is actually
 # installed before running udev-acl.
 TEST!="/lib/libglib-2.0.so.0", GOTO="acl_end"
 
 # apply ACL for all locally logged in users
-TEST=="/var/run/ConsoleKit/database", \
+TAG=="udev-acl", TEST=="/var/run/ConsoleKit/database", \
   RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"
 
 LABEL="acl_end"

If you use that, don't forget to remove `/etc/udev/rules.d/70-acl.rules'
again once a new version is available!

Best regards

Alexander Kurtz

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to