Bug 1034928

Summary: Package tmpfiles.d-created directory in manifest without %ghost
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA 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: hplip-3.13.11-4.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-14 03:40:01 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: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.