Skip to content
  • Stan Hu's avatar
    Fix SELinux installation failures on Debian Stretch · 5b992246
    Stan Hu authored
    Debian Stretch requires that pathnames be present when calling `restorecon`,
    but this was not a requirement in CentOS 7. We fix this by moving all
    SELinux-related changes to the gitlab::selinux recipe so that all the required
    files and directories can be made before any SELinux changes are applied. This
    makes sense from a code organization standpoint and also has the nice side
    effect of removing the need to ignore unknown files (-i option in restorecon)
    as well.
    
    Closes #3337
    5b992246