lynis
lynis copied to clipboard
Parameter not set in /lynis/include/tests_boot_services (line 1089)
Describe the bug After running "./lynis audit system --profile developer.prf" lynis stops running during the Boot and services tests with the message:
./lynis: 1089: /home/testuser/lynis/include/tests_boot_services: SKIPREASON: parameter not set
Version
- Distribution: Debian 11, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS
- Lynis version: 3.0.8 (latest version from GitHub)
Output
Boot and services
[DEBUG] Performing test ID BOOT-5104 (Determine service manager)
- Service Manager [ systemd ] [DEBUG] Performing test ID BOOT-5108 (Check Syslinux as bootloader) [DEBUG] Performing test ID BOOT-5109 (Check rEFInd as bootloader) [DEBUG] Performing test ID BOOT-5116 (Check if system is booted in UEFI mode)
- Checking UEFI boot [ DISABLED ] [DEBUG] Performing test ID BOOT-5121 (Check for GRUB boot loader presence)
- Checking presence GRUB2 [ FOUND ]
[DEBUG] Performing test ID BOOT-5122 (Check for GRUB boot password)
- Checking for password protection [ NONE ] [DEBUG] Performing test ID BOOT-5139 (Check for LILO boot loader presence) [DEBUG] Performing test ID BOOT-5140 (Check for ELILO boot loader presence) [DEBUG] Performing test ID BOOT-5142 (Check SPARC Improved boot loader (SILO)) [DEBUG] Performing test ID BOOT-5155 (Check for YABOOT boot loader configuration file) [DEBUG] Performing test ID BOOT-5177 (Check for Linux boot and running services)
- Check running services (systemctl) [ DONE ] Result: found 12 running services
- Check enabled services at boot (systemctl) [ DONE ] Result: found 13 enabled services [DEBUG] Performing test ID BOOT-5180 (Check for Linux boot services (Debian style)) [DEBUG] Performing test ID BOOT-5184 (Check permissions for boot files/scripts) [DEBUG] File mode of /etc/init.d/apparmor is - [DEBUG] File mode of /etc/init.d/console-setup.sh is - [DEBUG] File mode of /etc/init.d/cron is - [DEBUG] File mode of /etc/init.d/dbus is - [DEBUG] File mode of /etc/init.d/hwclock.sh is - [DEBUG] File mode of /etc/init.d/keyboard-setup.sh is - [DEBUG] File mode of /etc/init.d/kmod is - [DEBUG] File mode of /etc/init.d/networking is - [DEBUG] File mode of /etc/init.d/open-vm-tools is - [DEBUG] File mode of /etc/init.d/procps is - [DEBUG] File mode of /etc/init.d/rsyslog is - [DEBUG] File mode of /etc/init.d/ssh is - [DEBUG] File mode of /etc/init.d/sudo is - [DEBUG] File mode of /etc/init.d/udev is - [DEBUG] File mode of /etc/init.d/apparmor is - [DEBUG] File mode of /etc/init.d/hwclock.sh is - [DEBUG] File mode of /etc/init.d/keyboard-setup.sh is - [DEBUG] File mode of /etc/init.d/kmod is - [DEBUG] File mode of /etc/init.d/networking is - [DEBUG] File mode of /etc/init.d/procps is - [DEBUG] File mode of /etc/init.d/udev is - [DEBUG] File mode of /etc/init.d/hwclock.sh is - [DEBUG] File mode of /etc/init.d/networking is - [DEBUG] File mode of /etc/init.d/open-vm-tools is - [DEBUG] File mode of /etc/init.d/rsyslog is - [DEBUG] File mode of /etc/init.d/udev is - [DEBUG] File mode of /etc/init.d/open-vm-tools is - [DEBUG] File mode of /etc/init.d/rsyslog is - [DEBUG] File mode of /etc/init.d/console-setup.sh is - [DEBUG] File mode of /etc/init.d/cron is - [DEBUG] File mode of /etc/init.d/dbus is - [DEBUG] File mode of /etc/init.d/open-vm-tools is - [DEBUG] File mode of /etc/init.d/rsyslog is - [DEBUG] File mode of /etc/init.d/ssh is - [DEBUG] File mode of /etc/init.d/sudo is - [DEBUG] File mode of /etc/init.d/console-setup.sh is - [DEBUG] File mode of /etc/init.d/cron is - [DEBUG] File mode of /etc/init.d/dbus is - [DEBUG] File mode of /etc/init.d/open-vm-tools is - [DEBUG] File mode of /etc/init.d/rsyslog is - [DEBUG] File mode of /etc/init.d/ssh is - [DEBUG] File mode of /etc/init.d/sudo is - [DEBUG] File mode of /etc/init.d/console-setup.sh is - [DEBUG] File mode of /etc/init.d/cron is - [DEBUG] File mode of /etc/init.d/dbus is - [DEBUG] File mode of /etc/init.d/open-vm-tools is - [DEBUG] File mode of /etc/init.d/rsyslog is - [DEBUG] File mode of /etc/init.d/ssh is - [DEBUG] File mode of /etc/init.d/sudo is - [DEBUG] File mode of /etc/init.d/console-setup.sh is - [DEBUG] File mode of /etc/init.d/cron is - [DEBUG] File mode of /etc/init.d/dbus is - [DEBUG] File mode of /etc/init.d/open-vm-tools is - [DEBUG] File mode of /etc/init.d/rsyslog is - [DEBUG] File mode of /etc/init.d/ssh is - [DEBUG] File mode of /etc/init.d/sudo is - [DEBUG] File mode of /etc/init.d/hwclock.sh is - [DEBUG] File mode of /etc/init.d/networking is - [DEBUG] File mode of /etc/init.d/open-vm-tools is - [DEBUG] File mode of /etc/init.d/rsyslog is - [DEBUG] File mode of /etc/init.d/udev is -
- Check startup files (permissions) [ OK ] [DEBUG] Performing test ID BOOT-5202 (Check uptime of system) [DEBUG] Performing test ID BOOT-5260 (Check single user mode for systemd) ./lynis: 1089: /home/testuser/lynis/include/tests_boot_services: SKIPREASON: parameter not set