Apache not removing lock directory
Bug #1177140 reported by
RazorX
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
This is for package 2.2.22-1ubuntu1.3 .
The directory "/var/lock/apache2" appears to not be getting removed when apache stops/restarts. If the user/group apache runs under is modified it will fail to start until the folder is manually removed. This appears to be a changed with the latest release and has broken our automation.
Steps to reproduce:
1.) Install apache2 via apt-get.
2.) /etc/init.d/apache2 stop
3.) ls -l /var/lock
You will notice that the apache2 directory has not been removed. The init script will check for its existence and ownership at startup, so if you modify the apache user to anything else it will not start until that directory is removed.
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
You did not specify any version information in your report. What version of apache2 exhibits this problem? What version did you upgrade from?
And to help developers reproduce your problem, please also specify what the owner/group of /var/lock/apache2 was before, and what it is now.
Once you've answered, please change the bug status back to New. Thanks!