Description of problem: When screen package is installed, screen command fails because /run/screen is not available. screen.rpm has a systemd-tmpfiles snippet, but it will only get run on next reboot. To fix: Add %post %tmpfiles_create %_tmpfilesdir/screen.conf Version-Release number of selected component (if applicable): screen-4.2.1-2.fc21.x86_64
Update: The snippet should look like: %post %tmpfiles_create screen.conf (Using just the basename allows the administorator to potentially override the file in /lib with a file in /etc.)
Another (imho better) option: if screen package owned /var/run/screen itself, it would get created on initial install by rpm Double-checking that is already the case, *except* for the unfortunate use of %ghost here: %ghost %attr(755,root,root) %{_localstatedir}/run/screen I'd suggest removing %ghost instead.
*** Bug 1112017 has been marked as a duplicate of this bug. ***
Agreed, that's a better solution.
%changelog * Mon Jun 23 2014 Rex Dieter <rdieter> 4.2.1-3 - comply with http://fedoraproject.org/wiki/Packaging:Tmpfiles.d (#1112016)