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

Bug#412407: apache2.2-common: init script doesn't report error when being called with unknown parameter



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: apache2.2-common
Version: 2.2.3-3.3
Severity: minor
Tags: patch

Hi *!

The apache2 init script should use log_failure_msg instead of
log_success_msg to report the usage. With its current usage of
log_success_msg, bad misinterpretions can happen:

david@zion:~$ sudo /etc/init.d/apache2 status
Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload}
david@zion:~$ echo $?
0
david@zion:~$ 



Regards, David

- -- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-vserver-686
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)

Versions of packages apache2.2-common depends on:
ii  apache2-utils                 2.2.3-3.3  utility programs for webservers
ii  libmagic1                     4.19-1     File type determination library 
us
ii  lsb-base                      3.1-23     Linux Standard Base 3.1 init 
scrip
ii  mime-support                  3.39-1     MIME files 'mime.types' 
& 'mailcap
ii  net-tools                     1.60-17    The NET-3 networking toolkit
ii  procps                        1:3.2.7-3  /proc file system utilities

apache2.2-common recommends no packages.

- -- no debconf information

- -- 
- - hallo... wie gehts heute?
- - *hust* gut *rotz* *keuch*
- - gott sei dank kommunizieren wir über ein septisches medium ;)
 -- Matthias Leeb, Uni f. angewandte Kunst, 2005-02-15
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF4gF//Pp1N6Uzh0URAhVQAKCYuOv6HGF9SsUcu/CxiVnynEJlCACeMUA5
khtXWLzIRMSmjpdt7jCjCt8=
=N7VR
-----END PGP SIGNATURE-----



Reply to: