diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-02 12:34:11 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-02 12:34:11 +0100 |
commit | 906f8e3ae24a084d9a70d33d84c0ce29bdafa79c (patch) | |
tree | c42ea9ad31a036d4020a462b970e061c50aedea0 /appliance/init | |
parent | 100271c7bc00a1f9baacd8c56b43e156b736fc12 (diff) | |
download | libguestfs-906f8e3ae24a084d9a70d33d84c0ce29bdafa79c.tar.gz libguestfs-906f8e3ae24a084d9a70d33d84c0ce29bdafa79c.tar.xz libguestfs-906f8e3ae24a084d9a70d33d84c0ce29bdafa79c.zip |
appliance: Update paths to udevd.
systemd is playing a WTF game with udevd, moving it around and
renaming it unnecessarily in each release. Chase all known locations.
Diffstat (limited to 'appliance/init')
-rwxr-xr-x | appliance/init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/appliance/init b/appliance/init index bfc09528..f9818b63 100755 --- a/appliance/init +++ b/appliance/init @@ -33,7 +33,9 @@ elif [ -x /sbin/start_udev ] && /sbin/start_udev; then : else # Find udevd and run it directly. - for f in /sbin/udevd /lib/udev/udevd /lib/systemd/systemd-udevd; do + for f in /sbin/udevd /lib/udev/udevd \ + /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd \ + /usr/lib/udev/udevd; do if [ -x "$f" ]; then UDEVD="$f"; fi done if [ -n "$UDEVD" ]; then |