diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-06-18 20:25:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-09 10:53:54 +0100 |
commit | 88b12615a57d7830ce567283b75dcbcd72212999 (patch) | |
tree | d52f3a5eb4b081bf2734cb3590d469fd5aff927d /meta/recipes-core | |
parent | bb43931f3d977ac90faf5ab0e2bb94e5af0186e3 (diff) | |
download | poky-88b12615a57d7830ce567283b75dcbcd72212999.tar.gz |
systemd-udevd: fix invoking init script failed
root@emenlow-noemgd:~# /etc/init.d/systemd-udevd restart
Stopping udevd
Starting udev
corrupt queue file
root@emenlow-noemgd:~# /etc/init.d/systemd-udevd status
udevd is stopped
root@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]
(From OE-Core master rev: 8f59aa06f3eb955d58600dfc628bd3b5d2aa0f9a)
(From OE-Core rev: af5120e5ff3a0ad960554ff4ab0e17673c239f9e)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | 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 ac56ccaa72..971e4e9cd2 100644 --- a/meta/recipes-core/systemd/systemd/init +++ b/meta/recipes-core/systemd/systemd/init | |||
@@ -87,7 +87,7 @@ case "$1" in | |||
87 | ;; | 87 | ;; |
88 | stop) | 88 | stop) |
89 | echo "Stopping udevd" | 89 | echo "Stopping udevd" |
90 | start-stop-daemon --stop --name udevd --quiet | 90 | start-stop-daemon --stop --name systemd-udevd --quiet |
91 | ;; | 91 | ;; |
92 | restart) | 92 | restart) |
93 | $0 stop | 93 | $0 stop |
@@ -95,7 +95,7 @@ case "$1" in | |||
95 | $0 start | 95 | $0 start |
96 | ;; | 96 | ;; |
97 | status) | 97 | status) |
98 | status udevd | 98 | status systemd-udevd |
99 | ;; | 99 | ;; |
100 | *) | 100 | *) |
101 | echo "Usage: $0 {start|stop|status|restart}" | 101 | echo "Usage: $0 {start|stop|status|restart}" |