| Summary: | Package tmpfiles.d-created directory in manifest without %ghost | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Waugh <twaugh> |
| Component: | cups | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | jpopelka, twaugh |
| 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: | 2013-11-27 09:42:00 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: | |
Hmm, actually, because %ghost isn't used in the manifest this probably isn't an issue. But should %ghost be used? Or not? Found the answer: %ghost should not be used. https://fedorahosted.org/fesco/ticket/525 Closing, as this is all correct here. (In reply to Tim Waugh from comment #2) > Found the answer: %ghost should not be used. > https://fedorahosted.org/fesco/ticket/525 Nice catch, somebody should have opened bug #656566 (and the other already CLOSED bugs as stated in https://fedorahosted.org/fesco/ticket/525#comment:2) because up to now I was still thinking that %ghost is needed. |
Description of problem: cups ships a tmpfiles.d conf file but does not use %tmpfiles_create in its %post scriptlet. This could lead to problems if the local state directory is required between package installation and reboot. Just add e.g.: %tmpfiles_create %{_tmpfilesdir}/%{name}.conf to %post scriptlet.