Bug 850206 - Introduce new systemd-rpm macros in mgetty spec file
Summary: Introduce new systemd-rpm macros in mgetty spec file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mgetty
Version: 18
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michal Sekletar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 850016
TreeView+ depends on / blocked
 
Reported: 2012-08-21 13:49 UTC by Lukáš Nykrýn
Modified: 2013-07-31 14:50 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-31 14:50:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lukáš Nykrýn 2012-08-21 13:49:35 UTC
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).

Comment 1 Michal Sekletar 2013-03-19 15:59:15 UTC
Fixed in f19. Direct impact on user here is very low, not worth of pushing update. Closing as NEXTRELEASE.

Comment 2 mrj 2013-07-10 07:50:25 UTC
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.

Comment 3 Michal Sekletar 2013-07-10 15:02:43 UTC
(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.

Comment 4 Michal Sekletar 2013-07-31 14:50:44 UTC
If you are still experiencing the issue please file a new bug. Thanks.


Note You need to log in before you can comment on or make changes to this bug.