Package: udev
Version: 175-7.1
Severity: important

Hello,
after upgrading a machine to Wheezy I noticed that MD device nodes where
not removed anymore once the array was stopped.
I noticed that the device node had the sticky bit set, and udev was
refusing to remove it:

  device node '/dev/md1' has sticky bit set, skip removal

The sticky bit is only set by the "static_node" option, and there are
not rules setting it for block devices.

Unfortunately, in 91-permissions.rules at line 94 you can see this:

# sound devices
SUBSYSTEM=="sound",                             GROUP="audio", 
        OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"

Note that there's not continuation backslash at the end of the line: the
options are applied unconditionally (hence the "important" severity).

I've verified that adding the backslash fixes the bug.

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udev depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38
ii  libselinux1            2.1.9-5
ii  libudev0               175-7.1
ii  lsb-base               4.1+Debian8
ii  procps                 1:3.3.3-3
ii  util-linux             2.20.1-5.3

Versions of packages udev recommends:
ii  pciutils  1:3.1.9-6
ii  usbutils  1:005-3

udev suggests no packages.

-- Configuration Files:
/etc/udev/udev.conf changed [not included]

-- debconf information:
  udev/new_kernel_needed: false
  udev/title/upgrade:
  udev/reboot_needed:
  udev/sysfs_deprecated_incompatibility:

-- debsums errors found:
debsums: changed file /lib/udev/rules.d/91-permissions.rules (from udev package)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to