Closed Gazoo closed 1 year ago
Sorry this is the same issue that I reported years ago: https://github.com/rfxn/linux-malware-detect/issues/371
From RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1972704
If you copy a file from another location, ensure plain cp command is used, not mv, nor "cp -a" and similar commands which preserve attributes; or restore the context according to the default settings using the restorecon command.
The installer script is using:
cp -af ./files/service/maldet.service /usr/lib/systemd/system/
This should fix it:
cp ./files/service/maldet.service /usr/lib/systemd/system/
Thank you for flagging @Gazoo, apologies missed this one before cutting the release a few hours ago. I've updated the release and invalidated the hash / published updated binaries.
https://github.com/rfxn/linux-malware-detect/commit/b7db56f51f72d28d7f875d6f9de547d4768f0db0
This should be good to go!
Just a note that I went to test out the pre-release of 1.6.5 and it looks like the installer.sh script isn't installing the the maldet systemd service file properly: