falco: Falco service "active (exited)" on Ubuntu 16.04 (systemd)
Hello!
I am currently running Falco 0.14.0 on production instances and I noticed Falco stopped running on multiple Ubuntu 16.04 hosts.
root@some-host:/var/run# service falco status
● falco.service - LSB: Falco syscall activity monitoring agent
Loaded: loaded (/etc/init.d/falco; bad; vendor preset: enabled)
Active: active (exited) since Mon 2019-05-27 05:58:49 UTC; 4 days ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0
Memory: 0B
CPU: 0
After discussing with @fntlnz, the issue is most likely caused by the lack of systemd Unit definition and systemd doesn’t know what he needs to do.
Issue #484 related to this one but in my case, Falco stopping and not restarting looks more like a bug. 🙂
Thanks for the help!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 26 (16 by maintainers)
Hello again!
The current systemd falco.service file (/run/systemd/generator.late/falco.service) content is:
The one suggested by @juju4 is:
The
Typechange (fromType=forkingtoType=simple) and theRestart=on-failureshould help!