Red Hat Bugzilla – Bug 656555
Please Update Spec File to use %ghost on files in /var/run and /var/lock
Last modified: 2012-05-31 15:39:35 EDT
Your package Canna 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
So what was the conclusion how to deal with the directory for SELinux?
Particularly in this package, /var/run/.iroha_unix is an issue here though, the daemon process requires it and has own type in the security context. without the update you claim, this package just works without the reboot though, the magic of tmpfiles.d doesn't take care of creating a directory and of relabeling the security context without the reboot.
Fixed in Canna-3.7p3-30.fc15.