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

Re: SysVinit problem?



On Sun, 03 Sep 2000, Bruce Richardson wrote:
> All the user runlevel directories, /etc/rc1.d/ through to /etc/rc5.d/,
> have exactly the same contents and they're all start scripts, no kill
> scripts.  If I telinit from (for example) runlevel 2 to 4, nothing
> happens except for the "sending a term/kill signal to all processes"
> message.  The console I type it at stays the same but all the other ttys
> freeze until I telinit back to the original runlevel.

This is ok, Debian doesn't use runlevels 3-5 for anything by default AFAIK,
and they're mostly equal to runlevel 2 (I think /etc/inittab has some stuff
which is different, simply to show it can do that).

BTW, there's an utterly braindamaged behaviour in many (most?) daemon
packages during upgrade: They will start their daemons regardless of the
current runlevel, so keep this in mind during upgrades if you hand-trimmed
your runlevels to actually mean something.

Proposing a fix to this is in my TODO list. The code is rather easy, really,
but requires a policy change as almost all packages who have something in
/etc/init.d will have to be fixed.

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

Attachment: pgpdJwYGOIfsl.pgp
Description: PGP signature


Reply to: