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: ---- if [ "$1" != status ]; then # be sure there is a /var/run/lighttpd, even with tmpfs # The directory is defined as volatile and may thus be non-existing # after a boot (DPM §9.3.2) if ! dpkg-statoverride --list /var/run/lighttpd >/dev/null 2>&1; then install -d -o www-data -g www-data -m 0750 "/var/run/lighttpd" fi fi ---- I propose that /var/log/lighttpd would be also checked and recreated in a similar manner. Thanks --- System information. --- Architecture: amd64 Kernel: Linux 3.4.3-rm1+ Debian Release: wheezy/sid 990 testing wheezy.natsu.romanrm.ru 500 unstable www.emdebian.org 500 stable linux-libre.fsfla.org --- Package information. --- Depends (Version) | Installed ==============================================-+-================ libattr1 (>= 1:2.4.46-7) | 1:2.4.46-8 libbz2-1.0 | 1.0.6-3 libc6 (>= 2.4) | 2.13-33 libfam0 | libldap-2.4-2 (>= 2.4.7) | 2.4.28-1.1 libpcre3 (>= 8.10) | 1:8.30-5 libssl1.0.0 (>= 1.0.0) | 1.0.1c-3 zlib1g (>= 1:1.1.4) | 1:1.2.7.dfsg-13 perl | 5.14.2-12 lsb-base (>= 3.2-14) | 4.1+Debian7 OR systemd (>= 29.1) | mime-support | 3.52-1 libterm-readline-perl-perl | 1.0303-1 Recommends (Version) | Installed =========================-+-=========== spawn-fcgi | Suggests (Version) | Installed ============================-+-=========== openssl | 1.0.1c-3 rrdtool | apache2-utils | -- With respect, Roman ~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Stallman had a printer, with code he could not see. So he began to tinker, and set the software free."
signature.asc
Description: PGP signature