Package: adjtimex Version: 1.20-2 Severity: minor Tags: patch Attached is a patch that makes the adjtimex initscript conform better to policy 9.4 by removing the space after the ellipsis in its output:
$ sudo ./adjtimex start Regulating system clock...done. Also, in the event of usage error, it sends the usage description to stderr and makes the initscript exit with status 3 which is the LSB approved value. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages adjtimex depends on: ii debconf 1.4.32 Debian configuration management sy ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- debconf information: * adjtimex/run_daemon: true * adjtimex/compare_rtc: true
--- adjtimex_ORIG 2003-05-01 01:38:11.000000000 +0200 +++ adjtimex 2005-02-11 20:42:23.000000000 +0100 @@ -17,16 +17,15 @@ case "$1" in start|restart|force-reload) - echo -n "Regulating system clock... " - /sbin/adjtimex -tick $TICK -frequency $FREQ + echo -n "Regulating system clock..." + /sbin/adjtimex -tick "$TICK" -frequency "$FREQ" echo "done." ;; stop) ;; *) - echo "/etc/init.d/adjtimex: unknown command $1" - echo "Usage: /etc/init.d/adjtimex {start|stop|restart|force-reload}" - exit 1 + echo "Usage: /etc/init.d/adjtimex {start|stop|restart|force-reload}" >&2 + exit 3 ;; esac