mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 22:41:09 +02:00
The script and udev rule were added to Gentoo due to https://bugs.gentoo.org/556632 without much explanation. However, iscsidev.sh has multiple problems: - It doesn't run for all iSCSI devices, only those with a vendor string of "IET". Thus it works for e.g. tgtd but not for enterprise iSCSI targets. - It was added in 2015, but udev's builtin path_id has supported iSCSI targets -- and produced exactly the same /dev/disk/by-path links -- since systemd/systemd@a2fe9450bb in 2009. - When the script decides not to do anything, it exits 1, producing a series of systemd-udevd journal messages: systemd-udevd[636]: Process '/usr/lib/udev/scripts/iscsidev.sh' failed with exit code 1.