Merge "Trigger SELinux autorelabel on first boot."
This commit is contained in:
commit
010fef9843
6
elements/fedora/finalise.d/11-selinux-autorelabel
Executable file
6
elements/fedora/finalise.d/11-selinux-autorelabel
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Without fixing selinux file labels, sshd will run in the kernel_t domain
|
||||||
|
# instead of the sshd_t domain, making ssh connections fail with
|
||||||
|
# "Unable to get valid context for <user>" error message
|
||||||
|
touch /.autorelabel
|
Loading…
Reference in New Issue
Block a user