Skip to contentSkip to conversation

systemd-udevd: fix invoking init script failed

PATCH In review Hongxu Jia 2 participants 3 messages Jun 18, 2013

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover systemd-udevd: fix invoking init script failed

The following changes since commit 1dd643b142c69ac9035e29bff11d02201638dc65:

licences: Add SGI license (2013-06-17 16:45:37 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-systemd-udevd
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-systemd-udevd

Hongxu Jia (1):
systemd-udevd: fix invoking init script failed

 meta/recipes-core/systemd/systemd/init | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 1/1 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]

---
 meta/recipes-core/systemd/systemd/init | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/systemd/systemd/init +2 -2
index 7e67a50..41c4136 100644
@@ -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}"
Signature · 1 line
1.8.1.2
#2 lore raw
Quoted 9 lines · Hongxu Jia
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
Quoted 4 lines

The process name is systemd-udevd rather than udev which is used in systemd-udevd's init script.

[YOCTO #4746]

Ross