Description of problem: Running "rpm -V squid" reports /var/run/squid as missing: missing /var/run/squid This happens because /run is a tmpfs, so although that directory may be shipped so that it exists after package install it also needs an entry in /usr/lib/tmpfiles.d to recreate it when the system is rebooted. Either that or (if it's not essential and squid will recreate it when needed) then it should be marked %ghost in the file list so that rpm won't complain if it doesn't exist. Version-Release number of selected component (if applicable): squid-3.4.7-2.fc21.x86_64
Fedora policy: https://fedoraproject.org/wiki/Packaging:Tmpfiles.d (%ghost was used long time ago; it should not be used today: https://fedorahosted.org/fesco/ticket/525)
*** Bug 1188739 has been marked as a duplicate of this bug. ***
See also bug #1176318
still present in 3.5.2-2
Created attachment 1003719 [details] Replace /var/run/squid with /usr/lib/tmpfiles.d/squid.conf Use systemd facility to create files under tmpfs.
The patch seems to miss the squid-tmpfiles.conf file refered from the lines added to the specfile.
(In reply to Pavel Šimerda (pavlix) from comment #6) > The patch seems to miss the squid-tmpfiles.conf file refered from the lines > added to the specfile. It is included in the patch: [...] diff --git a/squid-tmpfiles.conf b/squid-tmpfiles.conf new file mode 100644 index 0000000..6440c48 --- /dev/null +++ b/squid-tmpfiles.conf @@ -0,0 +1 @@ +d /var/run/squid 0750 squid squid [...]
Thanks Xose, my bad.
squid-3.4.12-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/squid-3.4.12-2.fc21
Package squid-3.4.12-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing squid-3.4.12-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-4739/squid-3.4.12-2.fc21 then log in and leave karma (feedback).
squid-3.4.12-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.