Re: [Pkg-sysvinit-devel] installation-manual: Should it suggests to switch to run level 1 and back?
On Wed, 17 Apr 2013, Petter Reinholdtsen wrote:
> [Regid Ichira]
> > 1. AM I right that strictly speaking, there are cases where the
> > `easiest way' will not work?
> Yes. Any daemon started from within rcS.d/ will be killed by
> /etc/rc1.d/S01killprocs and not started again when switching to
> runlevels 2-5. This is the reason why I have recommended to move all
> daemon starting out of rcS.d/ and into rc[2-5].d/. There is a lot of
> work left to do before this is done. Luckily there isn't that that
> many daemons started from rcS.d/, so in many installations, switching
> to runlevel 1 and back will work.
There's networking: it may start deamons that are required for the
connection to remain operational in the medium/long term (dhcp-client,
wpa-supplicant, etc). These are all killed and not restarted when you
switch to runlevel 1.
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot