Bug 1112016
| Summary: | screen should run %tmpfiles_create in %post | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zbigniew Jędrzejewski-Szmek <zbyszek> |
| Component: | screen | Assignee: | Petr Hracek <phracek> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | lnykryn, phracek, rdieter |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-23 12:28: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: | |
| Embargoed: | |||
|
Description
Zbigniew Jędrzejewski-Szmek
2014-06-22 19:17:36 UTC
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) |