Skip to content

Test KRNL-5830 incorrectly reports "Reboot of system is most likely needed" #1700

@jamesrei155-stack

Description

@jamesrei155-stack

The Lynis test KRNL-5830 incorrectly reports "Reboot of system is most likely needed" on an up-to-date Arch Linux system when the standard linux package is not installed and a custom kernel (e.g., linux-zen) is in use. This occurs even when the running kernel's version matches the installed package version.

System Information:

  • OS: Arch Linux (Rolling Release)
  • Kernel Package in Use: linux-zen (Version: 6.18.2.zen2-1)
  • Standard Kernel Package (linux): Not installed
  • Running Kernel (uname -r): 6.18.2-zen2-1-zen
  • Lynis Version: 3.1.6

Troubleshooting/Verification Performed:

  1. Manual Version Check: Confirmed kernel versions match.
    • uname -r output: 6.18.2-zen2-1-zen
    • pacman -Q linux-zen output: linux-zen 6.18.2.zen2-1
  2. File Check: Confirmed that standard reboot flag files do not exist (e.g., /var/run/reboot-required).
  3. Alternative Tool Verification: Ran sudo needrestart, which correctly reported: Running kernel seems to be up-to-date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions