[Pkg-sysvinit-devel] Bug#444980: udev not restarted after exiting runlevel 1
Petter Reinholdtsen
pere at hungry.com
Sun Aug 30 15:18:40 UTC 2009
[Marco d'Itri]
> I do not believe that the best fix for this bug should happen in the
> udev package.
Can you explain why you do not believe the fix should happen in udev?
Personally, I believe the best solution would be to add a simpler
script in runlevels 2 to 5 to restart udev if it was stopped in
runlevel 1, and only use the existing udev script with a lot of extra
stuff going on in rcS.d/.
I guess the design question that need to be decided, is if udev should
be running in runlevel 1 or not, and that again depend on the
understanding of what runlevel 1 should be. In my head, runlevel 1
should give the sysadmin a system without any daemons running, to be
able to edit files and partitions without having any processes
blocking the work.
> A simple fix could be something like:
>
> DONTKILL=$(for p in $(pgrep udev); do echo "-o $p"; done)
> killall5 $DONTKILL
>
> Feel free to close this bug if you do not want to modify initscripts.
I am not very fond of special casing for individual packages in the
initscripts package, and very reluctant to add such code in
init.d/killprocs.
Happy hacking,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list