Hi!

On 07/02/2012 07:20 AM, Roman Mamedov wrote:
Package: lighttpd
Version: 1.4.31-1
Severity: wishlist

Hello,

On various embedded systems running from a flash disk with limited number of
overwrite cycles it might be desirabe to mount /var/log as tmpfs, especially
if long-term storage of logs is not required (but logs are still useful for
immediate debugging).

Currently lighttpd properly assumes that /var/run can be volatile and does
this in /etc/init.d/lighttpd:

Same as with /var/run/lighttpd, i think it is stupid if every init script tries to solve this itself.
(See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636339)

With /var/log/lighttpd this probably isn't a big problem, as only lighttpd is using it if it is a tmpfs directory, but for /var/run/lighttpd other processes (externally spawned fastcgi) will need the directory too, and the init script is the wrong place creating it.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to