As mentioned in the description test-case, the issue is hard to reproduce.
Trying to force it to happen, I modified the updated package local-premount/multipath
script to remove/rescan the SCSI devices in the background right before the
udevadm settle command, and could not reproduce the failure.
The system booted successfully.
More assurance is given since the patch is the same as that verified by the tester on the original environment (comment #12).
. /scripts/functions
+multipath -F
+
+for sd_delete in /sys/block/sd*/device/delete; do
+ echo 1 > $sd_delete
+done
+
+for host_scan in /sys/class/scsi_host/host*/scan; do
+ echo '- - -' > $host_scan
+done &
+
if [ -x /sbin/multipathd ]
then
[ "$quiet" != "y" ] && log_begin_msg "Waiting for udev to settle (multipath)"
udevadm settle --timeout=121 || true
[ "$quiet" != "y" ] && log_end_msg
fi
Verified on 14.04.
Marking verification-done.
As mentioned in the description test-case, the issue is hard to reproduce. multipath
Trying to force it to happen, I modified the updated package local-premount/
script to remove/rescan the SCSI devices in the background right before the
udevadm settle command, and could not reproduce the failure.
The system booted successfully.
More assurance is given since the patch is the same as that verified by the tester on the original environment (comment #12).
. /scripts/functions
+multipath -F sd*/device/ delete; do scsi_host/ host*/scan; do
+
+for sd_delete in /sys/block/
+ echo 1 > $sd_delete
+done
+
+for host_scan in /sys/class/
+ echo '- - -' > $host_scan
+done &
+
if [ -x /sbin/multipathd ]
then
[ "$quiet" != "y" ] && log_begin_msg "Waiting for udev to settle (multipath)"
udevadm settle --timeout=121 || true
[ "$quiet" != "y" ] && log_end_msg
fi
exit 0