lighttpd init file should not chown or chmod on status check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| lighttpd (Ubuntu) |
Low
|
Unassigned |
Bug Description
Binary package hint: lighttpd
The lighttpd init file performs `chmod` and `chown` on the PID file every time it's run. This should only be done under certain actions of the init file as it is not necessary for the "status" action.
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
Joseph Piché (josephpiche) wrote : | #2 |
I believe that is the offending code. Now that I think about it I should have titled this bug differently. The issue I saw was `/etc/init.
Joseph Piché (josephpiche) wrote : | #3 |
I believe this is related to bug 424991 in that `/etc/init.
I'm not familiar enough with with bash scripting to know what to do to fix this, otherwise I would write a patch. Could someone else please either confirm or deny that this is a bug?
Joseph Piché (josephpiche) wrote : | #4 |
Sorry, I meant bug 109559--I had the wrong one in my clipboard.
Changed in lighttpd (Ubuntu): | |
status: | Incomplete → Triaged |
importance: | Undecided → Low |
I cannot confirm this.
Are you referring to the following snippet?
# be sure there is a /var/run/lighttpd, even with tmpfs
mkdir -p /var/run/lighttpd > /dev/null 2> /dev/null
chown www-data:www-data /var/run/lighttpd
chmod 0750 /var/run/lighttpd