Bug 656709

Summary: Please Update Spec File to use %ghost on files in /var/run and /var/lock
Product: [Fedora] Fedora Reporter: Lennart Poettering <lpoetter>
Component: udisksAssignee: David Zeuthen <davidz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: davidz, dwysocha, mclasen
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: 2011-01-28 19:10:37 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    

Description Lennart Poettering 2010-11-23 23:44:43 UTC
Your package udisks 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 David Zeuthen 2011-08-26 14:48:45 UTC
The "fix"

 http://pkgs.fedoraproject.org/gitweb/?p=udisks.git;a=commitdiff;h=eb52d856db9ad19f66673d2241d25f03efafc23f

that Matthias committed was wrong and caused udisks to actually not work at all when /run is a tmpfs (udisks really needs its /var/run/udisks directory and won't mkdir it itself if it's not thtere, for better or worse). I've committed a better fix

 http://pkgs.fedoraproject.org/gitweb/?p=udisks.git;a=commitdiff;h=29c55a9c0174614570ccc636919b2273bac74b0d

that actually works (see bug 733161).

Comment 2 David Zeuthen 2011-08-26 15:56:05 UTC
I just fixed udisks upstream to create its /run directory on demand. This will be in udisks 1.0.4 so I can remove the /etc/tmpfiles.d hack.