Bug 1034930 - Package tmpfiles.d-created directory in manifest without %ghost
Summary: Package tmpfiles.d-created directory in manifest without %ghost
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 17:44 UTC by Tim Waugh
Modified: 2013-11-27 11:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-27 09:42:00 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.