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-06 17:36:30 +0100 |
commit | 599359aa31d0c40208f700e199d25a8e3ceaa184 (patch) | |
tree | c6348cdcc8250ef43fcbd9e42860d7aa5231463c | |
parent | ced0080d327a0c36a2b2df0c154b5be90eff1ce0 (diff) | |
download | libguestfs-599359aa31d0c40208f700e199d25a8e3ceaa184.tar.gz libguestfs-599359aa31d0c40208f700e199d25a8e3ceaa184.tar.xz libguestfs-599359aa31d0c40208f700e199d25a8e3ceaa184.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.
(cherry picked from commit 906f8e3ae24a084d9a70d33d84c0ce29bdafa79c)
-rwxr-xr-x | appliance/init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/appliance/init b/appliance/init index 6fac4fbc..bbfd092f 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 |