-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GCP install no systemd unit file #1628
Comments
Update I have tried to reproduce the issue and I might have found the mistake. Have you run For me the status was available after I enabled the systemd unit, see my log 👇 $ systemctl status falco
Unit falco.service could not be found.
$ systemctl enable falco
Created symlink /etc/systemd/system/multi-user.target.wants/falco.service → /usr/lib/systemd/system/falco.service.
$ systemctl status falco
● falco.service - Falco: Container Native Runtime Security
Loaded: loaded (/usr/lib/systemd/system/falco.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://falco.org/docs/ Also, as expected, Falco ran once I started the service: $ systemctl start falco
$ systemctl status falco
● falco.service - Falco: Container Native Runtime Security
Loaded: loaded (/usr/lib/systemd/system/falco.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-04-22 10:22:49 UTC; 26s ago
Docs: https://falco.org/docs/
Process: 10280 ExecStartPre=/sbin/modprobe falco (code=exited, status=0/SUCCESS)
Main PID: 10292 (falco)
Tasks: 5 (limit: 4915)
CGroup: /system.slice/falco.service
└─10292 /usr/bin/falco --pidfile=/var/run/falco.pid
Apr 22 10:22:49 falco-0-28-test-systemd falco[10292]: Thu Apr 22 10:22:49 2021: Falco version 0.28.0 (driver version 5c0b863ddade7a45568c0ac97d037422c9efb750)
Apr 22 10:22:49 falco-0-28-test-systemd falco[10292]: Thu Apr 22 10:22:49 2021: Falco initialized with configuration file /etc/falco/falco.yaml
Apr 22 10:22:49 falco-0-28-test-systemd falco[10292]: Thu Apr 22 10:22:49 2021: Loading rules from file /etc/falco/falco_rules.yaml:
Apr 22 10:22:49 falco-0-28-test-systemd falco[10292]: Loading rules from file /etc/falco/falco_rules.yaml:
Apr 22 10:22:50 falco-0-28-test-systemd falco[10292]: Loading rules from file /etc/falco/falco_rules.local.yaml:
Apr 22 10:22:50 falco-0-28-test-systemd falco[10292]: Thu Apr 22 10:22:50 2021: Loading rules from file /etc/falco/falco_rules.local.yaml:
Apr 22 10:22:50 falco-0-28-test-systemd falco[10292]: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
Apr 22 10:22:50 falco-0-28-test-systemd falco[10292]: Thu Apr 22 10:22:50 2021: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
Apr 22 10:22:50 falco-0-28-test-systemd falco[10292]: Starting internal webserver, listening on port 8765
Apr 22 10:22:50 falco-0-28-test-systemd falco[10292]: Thu Apr 22 10:22:50 2021: Starting internal webserver, listening on port 8765 @rayanebel Can you confirm that works for you too? |
Hello @leogr |
Great! So I'm closing this issue since I think that's the wanted behavior. In case you feel like we miss something in Falco documentation, feel free to propose any improvement to https://github.com/falcosecurity/falco-website Thanks |
Hi eveyrone,
I'm trying to install falco
0.28
in a kubeadm cluster running on a GCP vms. I followed the install instruction in the documentation to install falco directly on the system and not in the kubernetes cluster. Installation is working but I can't start falco because there is not systemd unit file and if I don't make a mistake and according to the release notes I should have a systemd unit file created in deb package.How to reproduce it
Environment
Kernel:
Linux cks-master 5.4.0-1042-gcp #45~18.04.1-Ubuntu SMP Tue Apr 13 18:51:16 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Installation method:
DEB
The text was updated successfully, but these errors were encountered: