Commit Graph

2 Commits

Author SHA1 Message Date
Petr Lautrbach
9616c6c3d6 Use StandardInput=tty when AUTORELABEL=0
selinux-autorelabel service can be configured to drop to a shell to allow
administrator to manually relabel a filesystem, see selinux_config(5). In
this case, the service needs to have a tty attached to stdin. Given that
tty should not be attached to the service by default, see
https://bugzilla.redhat.com/show_bug.cgi?id=1634661 , the
selinux-autorelabel-generator.sh will configure the service to attach
tty only if AUTORELABEL=0

Resolves: rhbz#2165508
2023-02-08 12:00:47 +01:00
Troy Dawson
981b3c982e RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/policycoreutils#d151b2c053d3957eb9287c20d6202ac242c60766
2020-10-14 16:23:12 -07:00