Bug 1098952 - Improve httpd version information in the output of apachectl -V command, error_log and CHANGES
Summary: Improve httpd version information in the output of apachectl -V command, erro...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: httpd
Version: 2.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.1.0
Assignee: Weinan Li
QA Contact: Libor Fuka
URL:
Whiteboard:
Depends On:
Blocks: 1182069
TreeView+ depends on / blocked
 
Reported: 2014-05-19 08:32 UTC by Masafumi Miura
Modified: 2018-12-05 18:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-18 12:33:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1089811 0 unspecified CLOSED provide vendor and exact version information in the "apachectl -v" output 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JWS3-12 0 Minor Closed provide vendor and exact version information in the "apachectl -v" output 2020-06-25 11:05:25 UTC

Internal Links: 1089811

Description Masafumi Miura 2014-05-19 08:32:34 UTC
## Description of problem:

 * The current apachectl and error_log output only the based version of Apache httpd. 
 * The "CHANGES" file contains exactly same one to the based version of Apache httpd. 
 * We can not identify if it is JBoss EWS or not.
 * We can not know what version of JBoss EWS.
 * We can not know which CVEs is specially/additionally fixed in this version.


### Steps to Reproduce:

 * Check the output of the command "apachectl -V" or "httpd -V" 
 * Check the version information of ${EWS_HOME}/logs/error_log
 * Check ${EWS_HOME}/httpd/CHANGES


### Actual results:

 * apachectl -V shows:

~~~
$ ./apachectl -V
Server version: Apache/2.2.22 (Unix)
Server built:   Jun 17 2013 11:02:18
Server's Module Magic Number: 20051115:30
Server loaded:  APR 1.3.9, APR-Util 1.3.9
Compiled using: APR 1.3.9, APR-Util 1.3.9
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
~~~

 * error_log shows:

~~~
[notice] Apache/2.2.22 (Unix) DAV/2 mod_jk/1.2.37 mod_ssl/2.2.22 OpenSSL/1.0.0-fips configured -- resuming normal operations
~~~

 * The "CHANGES" file exactly same to the community version of httpd. 


### Expected results:
 
 * apachectl -V should show:

~~~
Server version: JBoss_Enterprise_Web_Server/2.0.1 (Unix)
Apache version: 2.2.22 (with additional fixes)
...(snip)...
Apache vulnerability fixes included:
  CVE-2012-XXXX  CVE-2013-XXXX  CVE-2013-XXXX  CVE-2013-XXXX
  CVE-2013-XXXX  CVE-2014-XXXX  CVE-2014-XXXX  ...
~~~

 * error_log should show:

~~~
[notice] JBoss_Enterprise_Web_Server/2.0.1 DAV/2 mod_jk/1.2.37 mod_ssl/2.2.22 OpenSSL/1.0.0-fips configured -- resuming normal operations
~~~

 * The "CHANGES" file contains the version information of JBoss EWS and additional fixes information.

Comment 2 Weinan Li 2014-06-18 12:33:01 UTC
Please discuss in https://issues.jboss.org/browse/JWS3-12 for EWS3


Note You need to log in before you can comment on or make changes to this bug.