Bug#823617: apache2: inconsistent help messages
Package: apache2
Version: 2.4.20-1
Severity: minor
Dear Maintainer,
* What led up to the situation?
See the following sequence of commands:
$ sudo apachectl --help
Usage: /usr/sbin/apachectl start|stop|restart|graceful|graceful-stop|configtest|status|fullstatus|help
/usr/sbin/apachectl <apache2 args>
/usr/sbin/apachectl -h (for help on <apache2 args>)
$ sudo apachectl -h
Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed vhost settings
-t -D DUMP_RUN_CFG : show parsed run settings
-S : a synonym for -t -D DUMP_VHOSTS -D DUMP_RUN_CFG
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files
-T : start without DocumentRoot(s) check
-X : debug mode (only one worker, do not detach)
Action '-h' failed.
The Apache error log may have more information.
* What outcome did you expect instead?
A non-failing help message, if possible related to the apachectl utility,
not apache2 binary. I uselessly tried this:
$ sudo apachectl -e debug configtest
Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed vhost settings
-t -D DUMP_RUN_CFG : show parsed run settings
-S : a synonym for -t -D DUMP_VHOSTS -D DUMP_RUN_CFG
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files
-T : start without DocumentRoot(s) check
-X : debug mode (only one worker, do not detach)
Action '-e debug configtest' failed.
The Apache error log may have more information.
-- Package-specific info:
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apache2 depends on:
ii apache2-bin 2.4.20-1
ii apache2-data 2.4.20-1
ii apache2-utils 2.4.20-1
ii dpkg 1.18.4
ii lsb-base 9.20160110
ii mime-support 3.60
ii perl 5.22.2-1
ii procps 2:3.3.11-3
Versions of packages apache2 recommends:
ii ssl-cert 1.0.37
Versions of packages apache2 suggests:
pn apache2-doc <none>
pn apache2-suexec-pristine | apache2-suexec-custom <none>
ii chromium [www-browser] 50.0.2661.94-1
ii elinks [www-browser] 0.12~pre6-11+b2
ii firefox [www-browser] 46.0-1
ii konqueror [www-browser] 4:4.14.2-1
ii links [www-browser] 2.12-1+b2
ii links2 [www-browser] 2.12-1+b2
ii lynx [www-browser] 2.8.9dev9-1
Versions of packages apache2-bin depends on:
ii libapr1 1.5.2-3
ii libaprutil1 1.5.4-1+b1
ii libaprutil1-dbd-sqlite3 1.5.4-1+b1
ii libaprutil1-ldap 1.5.4-1+b1
ii libc6 2.22-7
ii libldap-2.4-2 2.4.42+dfsg-2+b2
ii liblua5.2-0 5.2.4-1
ii libnghttp2-14 1.10.0-1
ii libpcre3 2:8.38-3.1
ii libssl1.0.2 1.0.2g-2
ii libxml2 2.9.3+dfsg1-1
ii perl 5.22.2-1
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages apache2 is related to:
ii apache2 2.4.20-1
ii apache2-bin 2.4.20-1
-- no debconf information
Reply to: