Bug 1034928 - Package tmpfiles.d-created directory in manifest without %ghost
Summary: Package tmpfiles.d-created directory in manifest without %ghost
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
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:42 UTC by Tim Waugh
Modified: 2014-01-08 07:58 UTC (History)
2 users (show)

Fixed In Version: hplip-3.13.11-4.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-14 03:40:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2013-11-26 17:42:35 UTC
Description of problem:
hplip 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 before reboot.

Version-Release number of selected component (if applicable):
hplip-3.13.11-2.fc20

How reproducible:
Untested.

Steps to Reproduce:
1.Install hplip.
2.Do something that requires /var/run/hplip (fax something?)
3.Reboot and try again.

Actual results:
My guess is it will fail at step 2 but succeed at step 3.

Just add e.g.:
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
to %post scriptlet.

Comment 1 Tim Waugh 2013-11-27 09:41:30 UTC
Actually, the better approach is to package the directory as normal without %ghost.
https://fedorahosted.org/fesco/ticket/525

Comment 2 Fedora Update System 2013-11-27 19:10:12 UTC
hplip-3.13.11-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2013-21939/hplip-3.13.11-4.fc20

Comment 3 Fedora Update System 2013-11-27 19:10:57 UTC
hplip-3.13.11-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2013-21834/hplip-3.13.11-4.fc19

Comment 4 Fedora Update System 2013-11-27 19:31:00 UTC
hplip-3.13.11-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-21827/hplip-3.13.11-4.fc18

Comment 5 Fedora Update System 2013-11-29 16:02:35 UTC
Package hplip-3.13.11-4.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hplip-3.13.11-4.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21939/hplip-3.13.11-4.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-12-14 03:40:01 UTC
hplip-3.13.11-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-01-07 09:40:33 UTC
hplip-3.13.11-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-01-08 07:58:25 UTC
hplip-3.13.11-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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