Red Hat Bugzilla – Bug 850206
Introduce new systemd-rpm macros in mgetty spec file
Last modified: 2013-07-31 10:50:44 EDT
Fedora 18 changes the way how to work with services in spec files. It introduces new macros - %systemd_post, %systemd_preun and %systemd_postun; which replace scriptlets from Fedora 17 and older (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd, https://bugzilla.redhat.com/show_bug.cgi?id=850016).
Fixed in f19. Direct impact on user here is very low, not worth of pushing update. Closing as NEXTRELEASE.
This Systemd macro works in Fedora 19. However mgetty started by Systemd fails to open the mgetty log file /var/log/mgetty.<device>.log due to the default F19 security policy.
(In reply to mrj from comment #2)
> fails to open the mgetty log file /var/log/mgetty.<device>.log due to the
> default F19 security policy.
Can you please provide some logs. I am unable to reproduce the issue. I am running with SELinux enabled in enforcing mode and mgetty can create log files just fine. Thanks.
If you are still experiencing the issue please file a new bug. Thanks.