diskimage-builder/elements/fedora/finalise.d/11-selinux-autorelabel

7 lines
230 B
Plaintext
Raw Normal View History

#!/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