[pkg-lighttpd] Bug#679854: [lighttpd] Please assume /var/log/ can be volatile
Stefan Bühler
stbuehler at lighttpd.net
Mon Jul 2 08:43:54 UTC 2012
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.
More information about the pkg-lighttpd-maintainers
mailing list