Revision ee2d45d0
Added by Lukas Zapletal over 8 years ago
script/foreman-debug | ||
---|---|---|
qprintf "%10s %s\n" "RUBY:" "$(ruby --version 2>/dev/null)"
|
||
qprintf "%10s %s\n" "PUPPET:" "$(puppet --version 2>/dev/null)"
|
||
test -f /var/log/audit/audit.log && \
|
||
qprintf "%10s %s\n" "DENIALS:" "$(grep AVC /var/log/audit/audit.log | wc -l)"
|
||
qprintf "%10s %s\n" "DENIALS:" "$(ausearch -m AVC -r | wc -l)"
|
||
qprintf "\n\n"
|
||
|
||
if [ "$NOTAR" -eq 0 ]; then
|
Also available in: Unified diff
Fixes #11560 - foreman-debug counts denials correctly