summaryrefslogtreecommitdiffstats
path: root/appliance/init
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-02 12:34:11 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-02 12:34:11 +0100
commit906f8e3ae24a084d9a70d33d84c0ce29bdafa79c (patch)
treec42ea9ad31a036d4020a462b970e061c50aedea0 /appliance/init
parent100271c7bc00a1f9baacd8c56b43e156b736fc12 (diff)
downloadlibguestfs-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-xappliance/init4
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