Bug 656600
| Summary: | Please Update Spec File to use %ghost on files in /var/run and /var/lock | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lennart Poettering <lpoetter> |
| Component: | httpd | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | jorton, pahan, paul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://lists.fedoraproject.org/pipermail/devel-announce/2010-November/000726.html | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-10 01:35:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 656625, 827166 | ||
|
Description
Lennart Poettering
2010-11-23 23:31:09 UTC
Quick fix: add /etc/tmpfiles.d/httpd.conf containing the one line: d /var/run/httpd 710 root apache And add a dependency on systemd-units for ownership of the /etc/tmpfiles.d directory. Should /etc/tmpfiles.d/httpd.conf be marked %config, %config(noreplace), or not at all? http://koji.fedoraproject.org/koji/buildinfo?buildID=212576 does this work? (In reply to comment #2) > Should /etc/tmpfiles.d/httpd.conf be marked %config, %config(noreplace), or not > at all? I'd suggest not at all since there should be no reason to modify it at all, and any additional local entries could be added to a separate tmpfiles.d file. Not marking it as %config(noreplace) generates an rpmlint warning but I'd live with that. If this stuff isn't meant to be modifiable at all, it shouldn't be in /etc. Some of the conf files in /etc/tmpfiles.d might be valid to edit, for example, to change cleanup intervals and stuff like that. However, to the Apache case this doesn't really apply. |