mirror of https://github.com/CISOfy/lynis.git
Merge pull request #1526 from ferorge/master
Fix issues #1496 and #1497
This commit is contained in:
commit
f0f9d79b7b
|
@ -41,7 +41,7 @@
|
|||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
# Check for installed inetd daemon
|
||||
LogText "Test: Checking if inetd is installed"
|
||||
if PackageIsInstalled "inetd"; then
|
||||
if PackageIsInstalled "inetd" || PackageIsInstalled "inetutils-inetd"; then
|
||||
INETD_PACKAGE_INSTALLED=1
|
||||
LogText "Result: inetd is installed"
|
||||
Display --indent 2 --text "- Installed inetd package" --result "${STATUS_FOUND}" --color YELLOW
|
||||
|
@ -61,7 +61,7 @@
|
|||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
# Check running processes
|
||||
LogText "Test: Searching for active inet daemon"
|
||||
if IsRunning "inetd"; then
|
||||
if IsRunning "inetd" || IsRunning "inetutils-inetd"; then
|
||||
LogText "Result: inetd is running"
|
||||
Display --indent 4 --text "- inetd status" --result "${STATUS_ACTIVE}" --color GREEN
|
||||
INETD_ACTIVE=1
|
||||
|
|
|
@ -1378,7 +1378,7 @@ EOF
|
|||
|
||||
if [ "${DPKGBINARY}" ]; then
|
||||
TESTED=1
|
||||
KERNEL_PKG_NAMES="linux-image-[0-9]|raspberrypi-kernel|pve-kernel-[0-9]"
|
||||
KERNEL_PKG_NAMES="linux-image-[0-9]|raspberrypi-kernel|pve-kernel-[0-9]|linux-odroid-5422"
|
||||
KERNELS=$(${DPKGBINARY} -l 2> /dev/null | ${GREPBINARY} -E "${KERNEL_PKG_NAMES}" | ${WCBINARY} -l)
|
||||
if [ ${KERNELS} -eq 0 ]; then
|
||||
LogText "Result: found no kernels from dpkg -l output, which is unexpected"
|
||||
|
|
Loading…
Reference in New Issue