Skip to content

Commit 142d8f4

Browse files
Merge pull request #5602 from craigcomstock/ENT-12137/master
Added logging CFEngine component related SELinux denials in cf-support
2 parents 9b59491 + ea77c55 commit 142d8f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

misc/cf-support

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,11 @@ else
380380
fi
381381
echo "Captured output of $syslog_cmd filtered for cf-|CFEngine"
382382

383+
# cf- component related SELinux denials
384+
if command -v ausearch >/dev/null; then
385+
ausearch -m avc -su cfengine > "$tmpdir"/ausearch-cfengine-avcs.log
386+
fi
387+
383388
gzip_add $WORKDIR/outputs/previous
384389
gzip_add $WORKDIR/outputs/dc-scripts.log # masterfiles-stage log
385390
file_add $WORKDIR/policy_server.dat

0 commit comments

Comments
 (0)