Comments (5)
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.
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.
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 atail -f
it hangs onPerforming test ID PLGN-3814 (Verify journal integrity)
- if I wait a long time, nothing happens - if I then press CTRL-C and finish thetail -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
withLynis ended successfully.
as last entry
Lynis version 3.0.9
OS: Ubuntu 22.04
from lynis.
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.
Thanks for investigation and information!
from lynis.
Related Issues (20)
- Devuan Chimaera not detected
- Unknown OS Detection openSUSE Leap 42.3 HOT 1
- SentinelOne detection not working HOT 1
- Lynis is not updating HOT 7
- Unknown OS found in /etc/os-release - Athena OS HOT 1
- Unknown OS found in /etc/os-release - Arch Linux ARM HOT 2
- Consider wazuh-syscheckd to satisfy FINT-4328 HOT 1
- Kernel module checks fail when module not present HOT 2
- Exception found! Function/test: [SSH-7404:1]
- Linux Mint (OEM Installation). No pubkezy, no repositories. HOT 6
- Amazon Linux 2023 is marked as EOL HOT 3
- PKGS-7388 Does not take care about mirror HOT 1
- Thank you! HOT 1
- McAfee Antivirus for Linux deprecated [MALW-3280] HOT 6
- lynis installation fails on Debian 11 due to an unsupported compression HOT 8
- unexpected operator HOT 1
- Translation warning message. HOT 1
- Duplicated file "software-eol.db" HOT 1
- Add Alt Linux to a list of a checkable versions of linux HOT 5
- Unknown OS: OSMC HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lynis.