[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: So many packages. So few that I need started at every boot.

On Wed, 31 Dec 2003, Joerg Sommer wrote:
> begin  Henrique de Moraes Holschuh <hmh@debian.org> wrote:
> > File a wishlist bug on file-rc requesting that it optimizes the runlevel
> > changes like sysv-rc does, I guess...
> OK, I've done.
> While we talk about behavior while switching runlevels, I observe an
> unfortunate behavior while switching to runlevel 1 and back.
> On entering runlevel 1 /etc/init.d/single is executed, which terminates
> and kills all processes. This also involves processes started in runlevel
> S like devfs and portmap (mountnfs.sh). If you switch back to the default
> runlevel they aren't restarted, because they have their start link in S.
> But so you get some trouble if you forget to restart them, e.g. with NFS
> mounts (because portmap is missing) or device nodes in /dev.
> Is this behavior correct?

Yes.  Any services that are daemon-based are NOT to be started on runlevel
S, for this exact reason.

>From the top of my head, I can think of at least one very silly offender:
clamav.  I am sure there are many others.  Oh well, more important bugs to
file... argh.

  "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
  Henrique Holschuh

Reply to: