Package: console-common
Version: 0.7.54
Severity: serious

Debian Policy states (§9.3.1):

   "Also, if the script name ends `.sh', the script will be sourced in
    runlevel `S' rather that being run in a forked subprocess, but will
    be explicitly run by `sh' in all other runlevels".

Accordingly, .sh scripts run from /etc/rcS.d/ must not do "exit".

/etc/init.d/keymap.sh is run from /etc/rcS.d/ and it does do "exit".

S05keymap.sh:command -v loadkeys >/dev/null 2>&1 || exit 0
S05keymap.sh:           [ $CONSOLE_TYPE = "serial" ] && exit 0
S05keymap.sh:   exit 1

This prevents sysv-rc from obeying policy §9.3.1.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable'), (400, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-3-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages console-common depends on:
ii  console-data            2002.12.04dbs-50 Keymaps, fonts, charset maps, fall
ii  console-tools           1:0.2.3dbs-58    Linux console and font utilities
ii  debconf [debconf-2.0]   1.4.59           Debian configuration management sy
ii  debianutils             2.15.1           Miscellaneous utilities specific t
ii  kbd-compat [kbd]        1:0.2.3dbs-58    Wrappers around console-tools for 
ii  lsb-base                3.0-11           Linux Standard Base 3.0 init scrip

console-common recommends no packages.

-- debconf information:
  console-data/keymap/powerpcadb:
  console-data/keymap/ignored:
  console-data/keymap/full:
  console-data/keymap/template/keymap:
* console-data/keymap/policy: Don't touch keymap
  console-data/bootmap-md5sum: none
  console-data/keymap/template/layout:
  console-data/keymap/family: qwerty
  console-data/keymap/template/variant:

Reply via email to