Though I don't agree that the possibility of having a symlink to logs in
/etc/apache2 urges to change something (etc is configuration, not a
place for logging), this grep has two main (other) disadvantages:
1. It reads an unkown number of files without reason (remember: a dedicated
host might have hundreds of files and symlinks in sites-enabled|sites-available.
2. It would even parse a file like apache.conf.backup and check if there is a
pid to kill.
Therefore I'd only parse .conf files or better apache2.conf as this is
the place to configure the location of the PidFile. Besides this would
solve the mentioned problem.
Maybe this should be filed upstream.
** Changed in: apache2 (Ubuntu)
Assignee: (unassigned) => Ubuntu Server Team
Status: New => Confirmed
--
/etc/init.d/apache2 greps excessively for PidFile
https://bugs.launchpad.net/bugs/112991
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs