* Properly shut down udevd in stage 1. Otherwise there is a slight

possibility that a udevd process survives, preventing udevd from
  starting in stage 2:

  machine# udevd[1421]: bind failed: Address already in use
  machine# udevd[1421]: error binding udev control socket

svn path=/nixos/trunk/; revision=29434
This commit is contained in:
Eelco Dolstra 2011-09-22 08:26:58 +00:00
parent 229b99321f
commit 3fa2bbd029

View File

@ -293,7 +293,11 @@ done
# Stop udevd.
kill -- -1
udevadm control --exit
# Kill any remaining processes, just to be sure we're not taking any
# with us into stage 2.
kill -9 -- -1
if test -n "$debug1mounts"; then fail; fi