jasonish / evebox

Web Based Event Viewer (GUI) for Suricata EVE Events in Elastic Search
https://evebox.org/
MIT License
432 stars 67 forks source link

RPM: bad permissions on evebox.service #128

Closed filippocarletti closed 4 years ago

filippocarletti commented 4 years ago

Both systemd service files have bad permissions in the RPM package:

[root@ns7 ~]# rpm -qvl evebox | grep service
-rw-rw-rw-    1 root    root                      113 Mar 27 15:41 /lib/systemd/system/evebox-agent.service
-rw-rw-rw-    1 root    root                      269 Mar 27 15:41 /lib/systemd/system/evebox.service

Running systemctl daemon-reload, I see in /var/log/messages:

Mar 31 19:44:02 ns7 systemd: Configuration file /usr/lib/systemd/system/evebox.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.

I couldn't check the DEB package. Environment is CentOS 7 (NethServer).

jasonish commented 4 years ago

Thanks for reporting. Will look at this real soon.

jasonish commented 4 years ago

Fixed. As the packaging scripts are right in the main source I created a 0.11.1.