mirror of https://github.com/CISOfy/lynis.git
Added test for systemd journal daemon [LOGG-2136]
This commit is contained in:
parent
f826a4f63f
commit
87994330f1
|
@ -28,7 +28,6 @@
|
|||
SYSLOG_DAEMON_PRESENT=0
|
||||
SYSLOG_DAEMON_RUNNING=0
|
||||
SYSLOG_NG_RUNNING=0
|
||||
#YYY (extend support for systemd journal)
|
||||
SYSTEMD_JOURNAL_RUNNING=0
|
||||
#
|
||||
#################################################################################
|
||||
|
@ -96,6 +95,22 @@
|
|||
fi
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
# Test : LOGG-2136
|
||||
# Description : Check for a running systemd-journal daemon
|
||||
Register --test-no LOGG-2136 --weight L --network NO --description "Check for running systemd journal daemon"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
logtext "Test: Searching for systemd journal daemon in process list"
|
||||
IsRunning systemd-journal
|
||||
if [ ${RUNNING} -eq 1 ]; then
|
||||
Display --indent 4 --text "- Checking systemd journal status" --result FOUND --color GREEN
|
||||
SYSTEMD_JOURNAL_RUNNING=1
|
||||
else
|
||||
Display --indent 4 --text "- Checking systemd journal status" --result "NOT FOUND" --color WHITE
|
||||
fi
|
||||
fi
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
# Test : LOGG-2210
|
||||
# Description : Check for a running metalog daemon
|
||||
|
|
Loading…
Reference in New Issue