Package: util-linux
Version: 2.12r-2
Severity: important

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/hwclock.sh and /etc/init.d/hwclockfirst.sh are run from /etc/rcS.d/ 
and they
do "exit".

S18hwclockfirst.sh:[ ! -x /sbin/hwclock ] && exit 0
S18hwclockfirst.sh:                     exit 1
S18hwclockfirst.sh:       *)    log_action_msg "Unknown UTC setting: \"$UTC\""; 
exit 1 ;;
S18hwclockfirst.sh:       *)    log_action_msg "unknown BADYEAR setting: 
\"$BADYEAR\""; exit 1 ;;
S18hwclockfirst.sh:             exit 1
S22hwclock.sh:[ ! -x /sbin/hwclock ] && exit 0
S22hwclock.sh:                  exit 1
S22hwclock.sh:       *) log_action_msg "Unknown UTC setting: \"$UTC\""; exit 1 
;;
S22hwclock.sh:       *) log_action_msg "unknown BADYEAR setting: \"$BADYEAR\""; 
exit 1 ;;
S22hwclock.sh:          exit 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-7-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages util-linux depends on:
ii  libc6         2.3.5-8.1                  GNU C Library: Shared libraries an
ii  libncurses5   5.5-1                      Shared libraries for terminal hand
ii  libslang2     2.0.5-1                    The S-Lang programming library - r
ii  libuuid1      1.38+1.39-WIP-2005.12.10-1 universally unique id library
ii  zlib1g        1:1.2.3-8                  compression library - runtime

util-linux recommends no packages.

-- no debconf information

Reply via email to