From ef4795f423c650e5027fed4f222c83e048b0f0d6 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 12 Nov 2019 08:54:46 +0100 Subject: [PATCH] Configure autorelabel service to output to journal and to console if set The selinux-autorelabel.service is configured with "StandardInput=tty", even though the script doing the relabeling is not interactive (only "fixfiles relabel" is interactive but it is not used in this service). This property should be removed and replaced by "StandardOutput=journal+console". See: - https://bugzilla.redhat.com/show_bug.cgi?id=1634661 - https://github.com/fedora-sysv/initscripts/pull/262 --- selinux-autorelabel.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selinux-autorelabel.service b/selinux-autorelabel.service index b8461e6..9a0ea3b 100644 --- a/selinux-autorelabel.service +++ b/selinux-autorelabel.service @@ -11,4 +11,4 @@ ExecStart=/usr/libexec/selinux/selinux-autorelabel Type=oneshot TimeoutSec=0 RemainAfterExit=yes -StandardInput=tty +StandardOutput=journal+console