Skip to content
  • Abel Lopez's avatar
    0bfc2d0f
    Safe disable SELinux · 0bfc2d0f
    Abel Lopez authored
    Sometimes, a sysadmin might outright delete the SELinux rpms and
    delete the configuration. This causes the selinux module to fail
    with
    ```
    IOError: [Errno 2] No such file or directory: '/etc/selinux/config'\n",
    "module_stdout": "", "msg": "MODULE FAILURE"}
    ```
    
    This simply checks that /etc/selinux/config exists before we try
    to set it Permissive.
    
    Update from feedback
    0bfc2d0f
    Safe disable SELinux
    Abel Lopez authored
    Sometimes, a sysadmin might outright delete the SELinux rpms and
    delete the configuration. This causes the selinux module to fail
    with
    ```
    IOError: [Errno 2] No such file or directory: '/etc/selinux/config'\n",
    "module_stdout": "", "msg": "MODULE FAILURE"}
    ```
    
    This simply checks that /etc/selinux/config exists before we try
    to set it Permissive.
    
    Update from feedback
Loading