[oe-commits] Hongxu Jia : systemd-udevd: fix invoking init script failed
git at git.openembedded.org
git at git.openembedded.org
Tue Jun 18 16:26:42 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 8f59aa06f3eb955d58600dfc628bd3b5d2aa0f9a
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8f59aa06f3eb955d58600dfc628bd3b5d2aa0f9a
Author: Hongxu Jia <hongxu.jia at windriver.com>
Date: Tue Jun 18 20:25:14 2013 +0800
systemd-udevd: fix invoking init script failed
root at emenlow-noemgd:~# /etc/init.d/systemd-udevd restart
Stopping udevd
Starting udev
corrupt queue file
root at emenlow-noemgd:~# /etc/init.d/systemd-udevd status
udevd is stopped
root at emenlow-noemgd:~# ps
3805 root 8728 S /lib/systemd/systemd-udevd
The process name is systemd-udevd rather than udev which is
used in systemd-udevd's init script.
[YOCTO #4746]
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/systemd/systemd/init | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core/systemd/systemd/init
index 7e67a50..41c4136 100644
--- a/meta/recipes-core/systemd/systemd/init
+++ b/meta/recipes-core/systemd/systemd/init
@@ -83,7 +83,7 @@ case "$1" in
;;
stop)
echo "Stopping udevd"
- start-stop-daemon --stop --name udevd --quiet
+ start-stop-daemon --stop --name systemd-udevd --quiet
;;
restart)
$0 stop
@@ -91,7 +91,7 @@ case "$1" in
$0 start
;;
status)
- status udevd
+ status systemd-udevd
;;
*)
echo "Usage: $0 {start|stop|status|restart}"
More information about the Openembedded-commits
mailing list