OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[suse-security] Apache update problem

susekarsites.net
Date: Tue Sep 13 2005 - 16:52:01 CDT


Hi all!

Just done an online update.

For some unknown reason, after doing an online update, the Apache2 update
overwrites my /etc/sysconfig/apache2 configuration file.

Apache2 then refuses to start with the following error message:

Starting httpd2 (prefork) Syntax error on line 24 of
/etc/apache2/sysconfig.d/global.conf: CustomLog takes two or three
arguments, a file name, a custom log format string or format name, and
an optional "env=" clause (see docs)

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf failed
Failed services in runlevel 3: apache2

To correct the problem, I have to overwrite the apache2 config file the
update has kindly installed for me, with a backup copy, and then start
Apache manually.

This is odd behaviour. Should a security update be allowed to overwite
config files that have been manually altered by the sys admin?

Has anyone else noticed this behaviour?

This is what I have defined for Apache2 logs:

APACHE_ACCESS_LOG="/var/log/apache2/access_log common,
/var/log/apache2/browser_log agent,
/var/log/apache2/referer_log referer,
/var/log/apache2/combined_access_log combined,
/var/log/apache2/ROBOT_LOG agent"

Kind Regards - Keith Roberts

http://www.karsites.net/

--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-helpsuse.com
Security-related bug reports go to securitysuse.de, not here