lighttpd reload executes restart (bad on logrotate!)
Bug #393792 reported by
stiV
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Debian) |
Fix Released
|
Unknown
|
|||
apache2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
lighttpd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The logrotate script of lighttpd does a lighttpd reload, which is what it should do, but if I stop the lighttpd daemon manually I certainly do NOT want it to be started again by the log rotation. reload should NOT start a daemon if it is not running IMO.
restart -> stop and start
reload -> reload config (for some this is also stop/start, but it should only be executed if the daemon was running before.)
This is a security issue, because if someone does not know that and intentionally stops the server for some reason and wants to leave it that way eg. for testing or so, the server gets started and may run with faulty software. (happened to me)
Related branches
visibility: | private → public |
summary: |
- lighttpd reload executes restart logrotate + lighttpd reload executes restart (bad on logrotate!) |
Changed in lighttpd (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in lighttpd (Ubuntu): | |
importance: | Low → Medium |
status: | Confirmed → Triaged |
Changed in apache2 (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
This is related ... somehow ;)
http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 504319