Code Monkey home page Code Monkey logo

Comments (5)

halfluke avatar halfluke commented on June 10, 2024 1

I've just had the same issue and I fixed it this way:
copy default.prf to custom.prf
add the following line in custom.prf under # Skip a test (one per line)
skip-test=PLGN-3814

Reference: https://adamtheautomator.com/lynis/

from lynis.

mboelen avatar mboelen commented on June 10, 2024 1

The issue shared by @Webdrian is often caused by huge journal files or even errors in its internal database structure. Something that we can't pick up from Lynis, as we simply query some commands and check their output. If a command hangs or takes a long while to complete, Lynis will simply wait for the command execution.

My suggestions:

  • Run the command from this test manually and see what happens. Try to see if you can get a more verbose output
  • Disable this particular plugin if it keeps failing (add it to your custom.prf, see default.prf for the structure on disabling a test)

So with no change that can be made (yet) to Lynis, I will close this issue.

from lynis.

Huaba avatar Huaba commented on June 10, 2024

We scan about 40 servers with Lynis over a Gitlab Pipeline. One server had the same issue, all others run perfect.

What i've found:

  • only the output hang in "plugin: systemd"
  • if i track lynis.log with a tail -f it hangs on Performing test ID PLGN-3814 (Verify journal integrity) - if I wait a long time, nothing happens - if I then press CTRL-C and finish the tail -f, it scrolls to the end of the log and shows that it is finished.
  • the scan finishes without problems in the background (see it in lynis.log with Lynis ended successfully. as last entry

Lynis version 3.0.9
OS: Ubuntu 22.04

from lynis.

mboelen avatar mboelen commented on June 10, 2024

I've just had the same issue and I fixed it this way: copy default.prf to custom.prf add the following line in custom.prf under # Skip a test (one per line) skip-test=PLGN-3814

Reference: https://adamtheautomator.com/lynis/

Please don't copy the default.prf to custom.prf, but only add the differences to the latter one.

from lynis.

Huaba avatar Huaba commented on June 10, 2024

Thanks for investigation and information!

from lynis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.