Bug#992830: udevadm trigger produces inconsistent by-id entries
Michael Biebl
biebl at debian.org
Sun Jan 2 10:38:43 GMT 2022
Control: tags -1 + moreinfo
Hi
just to be sure, the inconsistency is
before:
> /dev/disk/by-id/:
> lrwxrwxrwx 1 root root 10 Aug 23 19:25 scsi-3-part1 -> ../../sda1
> lrwxrwxrwx 1 root root 10 Aug 23 19:25 scsi-3-part2 -> ../../sda2
> lrwxrwxrwx 1 root root 10 Aug 23 19:25 scsi-3-part5 -> ../../sda5
after:
> /dev/disk/by-id/:
> lrwxrwxrwx 1 root root 9 Aug 23 19:25 scsi-3 -> ../../sda
If you re-run the udevadm trigger, does it stay consistent?
Those symlinks should be created by 60-persistent-storage.rules.
udev already runs in the initramfs, maybe there is something fishy going on.
Could you attach a udev debug log when you run udevadm trigger
This command will allow one to observe the execution of rules:
udevadm control --log-priority=debug
journalctl -f
(and udevadm control --log-priority=info to set it back to sane levels)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220102/b4a8d926/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list