FS#51272 - [squid] Please add "d /var/log/squid 0755 - - -" in /usr/lib/tmpfiles.d/squid.conf
Attached to Project:
Community Packages
Opened by Eric Wang (enihcam) - Friday, 07 October 2016, 10:45 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 10 October 2016, 10:04 GMT
Opened by Eric Wang (enihcam) - Friday, 07 October 2016, 10:45 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 10 October 2016, 10:04 GMT
|
Details
Description:
For systems with /var/log mounted in volatile storage (e.g. tmpfs), /var/log/squid needs to be created at boot time, or you will get the following error: [code] Oct 07 18:37:15 archnet squid[320]: WARNING: Cannot write log file: /var/log/squid/cache.log Oct 07 18:37:15 archnet squid[320]: /var/log/squid/cache.log: No such file or directory Oct 07 18:37:15 archnet squid[320]: messages will be sent to 'stderr'. [/code] For your reference, please take a look at /usr/lib/tmpfiles.d/samba.conf in samba package. We need to do the same. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
FS#41041. samba is an outlier in this regard (56 other packages ship a /var/log/$foo directory and will need this crap).