[Pkg-sysvinit-devel] Bug#444980: udev not restarted after exiting runlevel 1

Petter Reinholdtsen pere at hungry.com
Mon Aug 31 13:40:54 UTC 2009


[Marco d'Itri]
> It is /, but what can be done to the root file system with /dev
> mounted on it?

It can be inaccesable/inresponsive when killall5 is running, for
example if it is a fuser file system, because the user space process
needed to access / is SIGSTOPed.  It migth be safer to chdir to /dev/
to make sure udevd do not have to look up / to update /dev/.

>> BTW, if udevd should survive runlevel 1 (which is not the same as
>> single user), there need to be start symlink in rc1.d/.
> Why if it is not going to be killed?

My idea was to make sure it isn't started again when switching from
runlevel 1 to any of 2-5.  But if udev do not have start symlinks in
runlevels 2-5 either, that should not be needed.  Ie either

  Default-start: S
  Default-stop:

or

  Default-Start: S 1 2 3 4 5
  Default-Stop:

Should work if killprocs do not kill udevd, and I see now that udev
uses the former.

Happy hacking,
-- 
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list