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
This commit is contained in:
Petr Lautrbach 2019-11-12 08:54:46 +01:00
parent da2585a281
commit ef4795f423

View File

@ -11,4 +11,4 @@ ExecStart=/usr/libexec/selinux/selinux-autorelabel
Type=oneshot
TimeoutSec=0
RemainAfterExit=yes
StandardInput=tty
StandardOutput=journal+console