Trigger SELinux autorelabel on first boot.
This adds about 30 seconds to my local boot time. Fixes bug #1179730 Change-Id: I519bb9289236abd43f8eb784768dcab10e2e5754
This commit is contained in:
parent
6b44b6d274
commit
d36ecfb75c
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