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

Marco d'Itri md at Linux.IT
Mon Aug 31 11:36:19 UTC 2009


On Aug 31, Petter Reinholdtsen <pere at hungry.com> wrote:

> What is the working directory of the udev process?  I hope it is
> /dev/, to avoid issues with / if something need to be done to the root
> file system.
It is /, but what can be done to the root file system with /dev mounted
on it?

> Is there a pid file around, to make sure the correct process and not
> just any process named udev is available?  Could you create one?  Why
No (udevd is started well before there is a writeable file system, and
there are also the child processes).
If somebody has other processes named udevd around he deserves any
trouble he gets.

> did you propose to use pgrep instead of pidof, btw?  'pidof
> /sbin/udevd' sime like a safer alternative, as it check the process
> inode info to make sure the correct process is found.
No real reason.

> 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?

-- 
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20090831/0e00a396/attachment-0002.pgp>


More information about the Pkg-sysvinit-devel mailing list