Bug#1069182: What a mess
Alex Volkov
alex at bootes.sytes.net
Wed Apr 17 22:17:59 BST 2024
So, in 166-1 the base was cleaned like this:
===
# and clean up the database of the initramfs udev
rm -rf /dev/.udev/
===
(https://snapshot.debian.org/archive/debian/20110213T031437Z/pool/main/u/udev/udev_166-1.diff.gz)
Later in 167-1 the effort was made to clean-up only the *failed* records:
===
# and clean up part of the database of the initramfs udev
rm -rf /dev/.udev/failed/ /run/udev/failed/
===
(https://snapshot.debian.org/archive/debian/20110404T153642Z/pool/main/u/udev/udev_167-1.diff.gz)
But with the next upstream release, which probably got rid of "failed"
directory, and introduced the --cleanup-db parameter, the clean-up was
reverted back to "kill-them-all" approach, forgetting why it had been fixed:
===
# and clean up part of the database of the initramfs udev
udevadm info --cleanup-db
===
(https://snapshot.debian.org/archive/debian/20110424T032258Z/pool/main/u/udev/udev_168-1.debian.tar.gz)
IDK, maybe in those times --cleanup-db really didn't erase the whole database,
but only the failed records? Who knows.
More information about the Debian-init-diversity
mailing list