Bug#1040445: udev creates wrong symlink from rule after upgrade to bookworm

peter at easthope.ca peter at easthope.ca
Sun Oct 22 15:51:25 BST 2023


In Debian 11.
root at imager:~# cat /etc/deb*ver*
11.8

root at imager:~# head -n 13 /etc/udev/rules.d/10* | tail -n 2
KERNEL=="sd?3", SUBSYSTEM=="block", ATTR{size}=="60028928", \
  SYMLINK+="AY", OWNER="root", GROUP="root", MODE="700"

root at imager:~# ls -ld /dev/A*
lrwxrwxrwx 1 root root 4 Oct 22 07:00 /dev/AY -> sdb3

# That, ^, is the correct result.

In Debian 12.
root at imager:~# cat /etc/deb*ver*
12.2

root at imager:~# head -n 23 /etc/udev/rules.d/10* | tail -n 2
KERNEL=="sd?3", SUBSYSTEM=="block", ATTR{size}=="60028928", \ 
  SYMLINK+="A1", OWNER="root", GROUP="root", MODE="700"

root at imager:~# ls -ld /dev/A*
lrwxrwxrwx 1 root root 4 Oct 22 06:53 /dev/A1 -> sda5

# That, ^, is the wrong result.  /dev/sda has no ATTR{size}=="60028928".

Simple tests similar to these reported by Karl and I are likely to 
produce failures in short order.

Failure of salient features impairs the appeal of Debian.  With 
removable storage routinely depending upon udev, successful operation 
really should be verified before a new Debian is released.

Regards,                   ... Peter E.

- 
VoIP:   +1 604 670 0140
work: https://en.wikibooks.org/wiki/User:PeterEasthope



More information about the Pkg-systemd-maintainers mailing list