Skip to content

Add SELinux detection warning to preflight checks#1656

Open
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1134-selinux-warning-preflight
Open

Add SELinux detection warning to preflight checks#1656
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1134-selinux-warning-preflight

Conversation

@lacatoire
Copy link

@lacatoire lacatoire commented Feb 10, 2026

Summary

  • Added SELinux enforcement detection to the preflight sanity check
  • When SELinux is in Enforcing mode, a warning is displayed with guidance on setting httpd security contexts
  • This helps users understand why directory writes fail even with 777 permissions

Fixes #1134

When SELinux is in Enforcing mode, users frequently report being unable
to write to directories despite having 777 permissions. This adds a
warning in the preflight check when SELinux is detected in Enforcing
mode, with guidance on how to set the correct security contexts.

Fixes opendcim#1134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add selinux warnings to preflight

1 participant