Skip to content

Commit c182dce

Browse files
committed
don't care about selinux enforcing
1 parent 9cca82c commit c182dce

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

pkg-new/preflights/host-preflight.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,23 +1180,6 @@ spec:
11801180
when: "connected"
11811181
message: "Successful TCP connection to {{ $element }}."
11821182
{{- end}}
1183-
- textAnalyze:
1184-
checkName: SELinux Mode
1185-
fileName: host-collectors/run-host/selinux-mode.txt
1186-
regexGroups: '(?P<Mode>Enforcing|Permissive|Disabled|Missing)'
1187-
outcomes:
1188-
- fail:
1189-
when: "Mode == Enforcing"
1190-
message: SELinux must be disabled or run in permissive mode. To run SELinux in permissive mode, edit /etc/selinux/config, change the line 'SELINUX=enforcing' to 'SELINUX=permissive', save the file, and reboot. You can run getenforce to verify the change."
1191-
- pass:
1192-
when: "Mode == Permissive"
1193-
message: SELinux is running in permissive mode.
1194-
- pass:
1195-
when: "Mode == Disabled"
1196-
message: SELinux is disabled.
1197-
- pass:
1198-
when: "Mode == Missing"
1199-
message: SELinux is not installed.
12001183
- textAnalyze:
12011184
checkName: Data Directory Permissions
12021185
fileName: host-collectors/run-host/check-data-dir-permissions.txt

0 commit comments

Comments
 (0)