Skip to content

Commit

Permalink
Added logging CFEngine component related SELinux denials in cf-support
Browse files Browse the repository at this point in the history
Ticket: ENT-12137
Changelog: title
  • Loading branch information
craigcomstock committed Aug 22, 2024
1 parent 9b59491 commit 210b176
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions misc/cf-support
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,11 @@ else
fi
echo "Captured output of $syslog_cmd filtered for cf-|CFEngine"

# cf- component related SELinux denials
if command -v ausearch >/dev/null; then
log_cmd "ausearch -m avc -c cf-"
fi

gzip_add $WORKDIR/outputs/previous
gzip_add $WORKDIR/outputs/dc-scripts.log # masterfiles-stage log
file_add $WORKDIR/policy_server.dat
Expand Down

0 comments on commit 210b176

Please sign in to comment.