tags 517225 + patch thanks Instead of depending on udev, which is currently optional on Linux, I propose to only call the udevsettle command when udev is active. And to change the udevsettle command to 'udevadm settle' as proposed by Arnaud Launay. Here is a patch implementing this.
diff -ru open-iscsi-2.0.870~rc3/debian/open-iscsi.init open-iscsi-2.0.870~rc3-pere/debian/open-iscsi.init --- open-iscsi-2.0.870~rc3/debian/open-iscsi.init 2009-09-05 10:04:17.000000000 +0200 +++ open-iscsi-2.0.870~rc3-pere/debian/open-iscsi.init 2009-09-05 10:25:03.000000000 +0200 @@ -95,7 +95,10 @@ starttargets - udevsettle + # If udev is active, wait for it to process uevents. + if [ -d /dev/.udev ]; then + udevadm settle + fi log_daemon_msg "Mounting network filesystems" MOUNT_RESULT=1 I am not sure this is enough, though, as the file debian/extra/initramfs.hook include this line: PREREQ="udev" I did not find any explanation why it lists udev as a prerequisite. If the udev package is required for open-iscsi to work, this patch should solve this issue: diff -ru open-iscsi-2.0.870~rc3/debian/control open-iscsi-2.0.870~rc3-pere/debian/control --- open-iscsi-2.0.870~rc3/debian/control 2009-09-05 10:04:17.000000000 +0200 +++ open-iscsi-2.0.870~rc3-pere/debian/control 2009-09-05 10:36:43.000000000 +0200 @@ -9,7 +9,7 @@ Package: open-iscsi Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, udev Description: High performance, transport independent iSCSI implementation iSCSI is a network protocol standard that allows the use of the SCSI protocol over TCP/IP networks. This implementation follows RFC3720. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org