Bug#414193: apache2-common: searching ALL files in /etc/apache2 for PidFile
Package: apache2-common
Severity: important
In /etc/init.d/apache2, when a reload is requested (as is the case from
the package manager during upgrades ) ALL files in /etc/apache2 are
greped for a line begining with "^PidFile". If there was some file with
a name like config.old that had a line that began with PidFile, it would
be used.
More importantly, some servers have lots of BIG log file in
/etc/apache2/logs, left over from an earlier standard, and all of those
log files are searched entirely for lines begining with PidFile.
This takes A VERY LONG TIME, and caused great anxiety to the poor
sysadmin running a live server and waiting to breath again when the
server has successfully restarted.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Reply to: