You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lynis hit a fatal error during System tools section.
Fatal error: grep binary not found
Version
Distribution ptxdist 2020.10
Lynis version 3.0.5
Expected behavior
I expected Lynis to output name of binary not found. Lynis is not looking for grep but egrep.
Don't use deprecated functions intended for historical applications.
Output
N/A
Additional context
Host is running GNU grep 3.3.
man page:
In addition, two variant programs egrep and fgrep are available.
egrep is the same as grep -E. fgrep is the same as grep -F.
Direct invocation as either egrep or fgrep is deprecated,
but is provided to allow historical applications that rely on
them to run unmodified.
The text was updated successfully, but these errors were encountered:
baxeno
changed the title
grep not found
Fatal error: grep binary not found
Jul 19, 2021
Seeing that you are on an embedded Linux distribution, it makes sense that egrep and fgrep are missing. For now, you will have to alias it if the binaries are not there. I will make an action to migrate away from the usage of egrep.
Closing this issue after making the commit above and scheduled future action.
Describe the bug
Lynis hit a fatal error during System tools section.
Version
Expected behavior
Output
N/A
Additional context
Host is running GNU grep 3.3.
man page:
The text was updated successfully, but these errors were encountered: