Bug 1034930

Summary: Package tmpfiles.d-created directory in manifest without %ghost
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: 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:

Description Tim Waugh 2013-11-26 17:44:25 UTC
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.

Comment 1 Tim Waugh 2013-11-26 17:45:44 UTC
Hmm, actually, because %ghost isn't used in the manifest this probably isn't an issue.

But should %ghost be used? Or not?

Comment 2 Tim Waugh 2013-11-27 09:42:00 UTC
Found the answer: %ghost should not be used.
https://fedorahosted.org/fesco/ticket/525

Closing, as this is all correct here.

Comment 3 Jiri Popelka 2013-11-27 11:47:31 UTC
(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.