Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1188739
Summary: | there is no /var/run/squid, because /run is a tmpfs | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Account closed by the user <b38617> | ||||
Component: | squid | Assignee: | Pavel Šimerda (pavlix) <psimerda> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | henrik, jonathansteffan, mluscon, psimerda, stadtkind2, thozza, trevor | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-03-03 00:15:35 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Account closed by the user
2015-02-03 15:34:47 UTC
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.
|