Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Tests break in normal run #1

Open
kaosmaja opened this issue Jul 24, 2020 · 0 comments
Open

Bug: Tests break in normal run #1

kaosmaja opened this issue Jul 24, 2020 · 0 comments

Comments

@kaosmaja
Copy link

I am trying to get default Lynis to scan from a docker container, but the instructions here cause some tests to break.

Below I will only list the exceptions, but there were a multitude of tests that could not run:

GetHostID Exception found

2020-07-24 14:06:03 Exception: test has an exceptional event (GetHostID) with text Both ip and ifconfig tools are missing
2020-07-24 14:06:08 Exception: test has an exceptional event (GetHostID) with text Can't create HOSTID, command ip not found
2020-07-24 14:06:13 Result: no HOSTID available, trying to use SSH key as unique source
2020-07-24 14:06:13 Info: creating a HostID (version 2)
2020-07-24 14:06:13 Exception: test has an exceptional event (GetHostID) with text No unique host identifier could be created.
2020-07-24 14:06:18 Info: no HostID found or invalid one
2020-07-24 14:06:18 Info: no machine ID found
2020-07-24 14:06:18 ====

KRNL-5840:1

Performing test ID PKGS-7410 (Count installed kernel packages)
2020-07-24 14:06:28 Test: Checking how many kernel packages are installed
2020-07-24 14:06:28 Result: found no kernels from dpkg -l output, which is unexpected
2020-07-24 14:06:28 Exception: test has an exceptional event (KRNL-5840:1) with text Could not find any kernel packages via package manager

NETW-3004:1, NETW-3006:2, NETW-3008:2, NETW-3012:1

2020-07-24 14:06:34 ====
2020-07-24 14:06:34 Performing test ID NETW-3004 (Search for available network interfaces)
2020-07-24 14:06:34 Exception: test has an exceptional event (NETW-3004:1) with text No interfaces found on this system (OS=Linux)
2020-07-24 14:06:39 ====
2020-07-24 14:06:39 Performing test ID NETW-3006 (Get network MAC addresses)
2020-07-24 14:06:39 Exception: test has an exceptional event (NETW-3006:2) with text Missing ifconfig or ip command to collect hardware address (MAC)
2020-07-24 14:06:44 ====
2020-07-24 14:06:44 Performing test ID NETW-3008 (Get network IP addresses)
2020-07-24 14:06:44 Exception: test has an exceptional event (NETW-3008:2) with text Missing ifconfig or ip command to collect hardware address (MAC)
2020-07-24 14:06:49 ====2020-07-24 14:06:49 Performing test ID NETW-3012 (Check listening ports)
2020-07-24 14:06:49 Exception: test has an exceptional event (NETW-3012:1) with text netstat and ss binary missing to gather listening ports
2020-07-24 14:06:54 ====
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant