Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Call udevadm instead of "start udevtrigger" #3

Closed
wants to merge 1 commit into from

1 participant

@sengaya

Because /sbin/initctl is symlinked in the NFSROOT (see a470d28), "start
udevtrigger" (introduced with 9a7e17f) won't do anything. This fix calls the
appropriate udevadm calls instead. Without it FAI won't detect any disk in an
upstart environment and partitioning will fail.
See Launchpad #941959, Debian #664774

Thilo Uttendorfer Call udevadm instead of "start udevtrigger"
Because /sbin/initctl is symlinked in the NFSROOT (see a470d28), "start
udevtrigger" (introduced with 9a7e17f) won't do anything. This fix calls the
appropriate udevadm calls instead. Without it FAI won't detect any disk in an
upstart environment and partitioning will fail.
See Launchpad #941959, Debian #664774
46d9381
@sengaya sengaya closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 19, 2012
  1. Call udevadm instead of "start udevtrigger"

    Thilo Uttendorfer authored
    Because /sbin/initctl is symlinked in the NFSROOT (see a470d28), "start
    udevtrigger" (introduced with 9a7e17f) won't do anything. This fix calls the
    appropriate udevadm calls instead. Without it FAI won't detect any disk in an
    upstart environment and partitioning will fail.
    See Launchpad #941959, Debian #664774
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/fai
View
2  bin/fai
@@ -98,7 +98,7 @@ fai_init() {
if [ X$UPSTART_JOB != Xfai ]; then
/etc/init.d/udev start
else
- test -f /etc/init/udevtrigger.conf && start udevtrigger
+ test -f /etc/init/udevtrigger.conf && udevadm trigger --action=add && udevadm settle
fi
fi
mkdir -p /var/run/network /dev/shm/network # when using initrd kernels
Something went wrong with that request. Please try again.