[pkg-lighttpd] tmpfs lighttpd patch
Arno Töll
arno at debian.org
Thu May 17 21:41:59 UTC 2012
Hi,
On 15.05.2012 13:06, Jan Koester wrote:
>> +LOGFOLDER=/var/log/lighttpd
..
>> +check_logfolder()
>> +{
>> + if [ ! -d "$LOGFOLDER" ]; then
>> + mkdir $LOGFOLDER
>> + fi
>> +}
...
> Sorry a patch for this is already included.
Actually there isn't unless you meant /var/run. We do not check /var/log
upon creation and I do not think this is necessary either. If you really
want to put /var/log on a tmpfs that's a problem you should fix locally
yourself.
For /var/run you would right indeed, Debian policy says: "The directory
/run is cleared at boot, normally by being a mount point for a temporary
file system. Packages therefore must not assume that any files or
directories under /run other than /run/lock exist unless the package has
arranged to create those files or directories since the last reboot"
[1]. Having that said, we comply with that already.
[1] http://www.debian.org/doc/debian-policy/ch-opersys.html#s-fhs-run
--
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20120517/ca44e33d/attachment.pgp>
More information about the pkg-lighttpd-maintainers
mailing list