Bug 656572

Summary: Please Update Spec File to use %ghost on files in /var/run and /var/lock
Product: [Fedora] Fedora Reporter: Lennart Poettering <lpoetter>
Component: ddclientAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bugzilla, fedora, jik, jjminkle, jrowens.fedora, kenkolden, martin.marques, neumann, redhat-bugzilla, smithsg, spamrefuse, thomas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://lists.fedoraproject.org/pipermail/devel-announce/2010-November/000726.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-26 07:42:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 827166    
Attachments:
Description Flags
create /var/run/ddclient as needed in init script
none
create /var/run/ddclient as needed on install none

Description Lennart Poettering 2010-11-23 23:27:31 UTC
Your package ddclient appears to include a file in /var/run or /var/lock. With an upcoming change in Rawhide these directories will now be mounted as tmpfs. For details about this change please consult http://lists.fedoraproject.org/pipermail/devel-announce/2010-November/000726.html For your package this means that you need add %ghost to all files that are placed in either of these two directories. Please make sure to make this change in time for the F15 cycle. For details about %ghost see http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-GHOST-DIRECTIVE , for more information on the F15 feature see the feature page https://fedoraproject.org/wiki/Features/var-run-tmpfs . If your package already uses %ghost on these files, feel free to close this bug report right-away. Sorry for this mass bug filing, and if you have any further questions, don't hesitate to ask on fedora-devel or ask me personally. Thank you, Lennart

Comment 1 Henrique Martins 2011-05-29 14:27:14 UTC
Fedora 15 is here and breaks ddclient's ability to create /var/run/ddclient/ddclient.pid, as described above.  I believe this is an issue with Fedora packaging.  If not I'll file a bug at the sourceforge tracker for ddclient.

Comment 2 Jonathan Kamens 2011-07-07 14:22:33 UTC
Created attachment 511722 [details]
create /var/run/ddclient as needed in init script

Comment 3 Ken Kolden 2012-02-01 04:14:55 UTC
Duplicate of Bug 734273

Comment 4 Jonathan Kamens 2012-05-15 15:18:51 UTC
*** Bug 734273 has been marked as a duplicate of this bug. ***

Comment 5 Jonathan Kamens 2012-05-15 15:19:58 UTC
*** Bug 781526 has been marked as a duplicate of this bug. ***

Comment 6 Jonathan Kamens 2012-05-15 15:22:00 UTC
*** Bug 814907 has been marked as a duplicate of this bug. ***

Comment 7 Jonathan Kamens 2012-05-15 15:22:32 UTC
*** Bug 819487 has been marked as a duplicate of this bug. ***

Comment 8 Jonathan Kamens 2012-05-15 15:26:48 UTC
I believe this is mostly fixed in ddclient-3.8.1-2.fc17, but it's still missing the %ghost declaration for /var/run/ddclient.

Comment 9 Fedora Update System 2012-05-15 15:39:56 UTC
ddclient-3.8.1-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ddclient-3.8.1-3.fc17

Comment 10 Fedora Update System 2012-05-26 07:42:01 UTC
ddclient-3.8.1-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 John Minkle 2012-08-19 01:07:21 UTC
installed ddclient-3.8.1-3.fc17 and ran systemctl start ddclient.service and get

WARNING:  Cannot create file '/var/run/ddclient/ddclient.pid'. (No such file
or directory)

Comment 12 John Minkle 2012-08-19 02:33:58 UTC
Created attachment 605448 [details]
create /var/run/ddclient as needed on install

this will properly create the /var/run/ddclient folder if needed