In the spec file "/var/run/squid" must be replaced with /usr/lib/tmpfiles.d/squid.conf : d /var/run/squid 0750 squid squid -thanks-
This breaks squid + logrotate a bit! [root@f21~]# ps -ef | grep squid squid 1842 1 0 Feb15 ? 00:00:00 /usr/sbin/squid -f /etc/squid/squid.conf [root@f21~]# cat /etc/logrotate.d/squid ... /usr/sbin/squid -k rotate 2>/dev/null [root@f21~]# squid -k rotate squid: ERROR: No running copy [root@f21~]# strace squid -k rotate ... open("/var/run/squid/squid.pid", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "squid: ERROR: No running copy\n", 30squid: ERROR: No running copy ) = 30 I always end up with no /var/log/squid/access.log after logrotate runs and thus no access logging anymore :(
Duplicate of bug# 1176318 Hopefully they'll push the proposed changes in 1176318 soon.
*** This bug has been marked as a duplicate of bug 1173488 ***
Created attachment 1002825 [details] Replace /var/run/squid with /usr/lib/tmpfiles.d/squid.conf Use systemd facility to create files under tmpfs.