Package: console-common
Version: 0.7.60

While reviewing the boot order specified using the dependency
information in the init.d scripts, I discovered a loop involving
init.d/keymap.sh.  The init.d/keymap.sh script should run as soon as
possible, and yet it include '$syslog' in its list of optional
dependencies (the should-start block).  But syslog is started in
runlevel 2, and keymap should run very early in runlevel S, so this
dependency is obviously bogus.  Please drop it.

Also, it list mountvirtfs as a required dependency.  This script has
been split into two scripts, mountkernfs and mountdevsubfs, and I
suspect keymap should depend on one of these instead.  It should not
depend on the obsolete script mountvirtfs.

I recommend replacing the current LSB header with this one to solve
these problems.

### BEGIN INIT INFO
# Provides:             keymap
# Required-Start:       mountdevsubfs
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start:        S 2 3 4 5
# Default-Stop:         0 1 6
# Short-Desceription:   Set keymap
# Description:          Set the Console keymap
### END INIT INFO

To see this loop yourself, install the insserv package and run these
commands:

  /usr/share/insserv/check-initd-order -g > bootorder.dotty
  dotty bootorder.dotty

This will give you a graph of the current boot dependencies, and every
arrow pointing upwards is part of a loop.

Friendly,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to