mars/userspace/debian-udev.patch
Thomas Schoebel-Theuer b749ed561c userspace: add bugfix for Debian udev rules
Patch received from Jörg Mann by email.

Some Debian versions seem to have typos in their udev rules.
As a consequence, /dev/mars/mydata does not disappear when
leaving primary state.

Other consequences might also exist. In an unreproduced case the
/dev/mars/ object was unlinked while the mount was continuously
active, without causing any harm to operations (besides that
xfs_growfs did not work, which led to the discovery of the
mysterious situation).

Probably the udev userspace may require further fixes.

Fortunately, udev-less systems (as those used by me for testing) are
not affected.
2014-03-31 06:59:10 +02:00

21 lines
695 B
Diff

--- 91-permissions.rules 2014-03-25 17:18:31.945152708 +0100
+++ 91-permissions.rules.orig 2013-04-29 00:36:42.000000000 +0200
@@ -90,7 +90,7 @@
KERNEL=="pht[0-9]*", GROUP="tape"
# sound devices
-SUBSYSTEM=="sound", GROUP="audio", \
+SUBSYSTEM=="sound", GROUP="audio",
OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"
# ieee1394 devices
@@ -103,7 +103,7 @@
KERNEL=="video1394-[0-9]*", GROUP="video"
# input devices
-KERNEL=="event[0-9]*", ATTRS{name}=="*dvb*|*DVB*|* IR *", \
+KERNEL=="event[0-9]*", ATTRS{name}=="*dvb*|*DVB*|* IR *" \
MODE="0664", GROUP="video"
KERNEL=="js[0-9]*", MODE="0664"
KERNEL=="event[0-9]*", ENV{ID_CLASS}=="joystick", \