Skip to content
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

[TRACKING] Breaking changes in Falco 1.0.0 #3038

Open
Tracked by #3148
Andreagit97 opened this issue Jan 29, 2024 · 14 comments
Open
Tracked by #3148

[TRACKING] Breaking changes in Falco 1.0.0 #3038

Andreagit97 opened this issue Jan 29, 2024 · 14 comments
Assignees
Milestone

Comments

@Andreagit97
Copy link
Member

This issue keeps track of all deprecated Falco features that will be removed in Falco 1.0.0:

@Andreagit97 Andreagit97 modified the milestones: TBD, 1.0.0 Jan 29, 2024
@Andreagit97 Andreagit97 changed the title [TRAKING] Breaking changes in Falco 1.0.0 [TRACKING] Breaking changes in Falco 1.0.0 Jan 30, 2024
@poiana
Copy link
Contributor

poiana commented Apr 29, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@Andreagit97
Copy link
Member Author

/remove-lifecycle stale

@FedeDP
Copy link
Contributor

FedeDP commented May 14, 2024

#3162 deprecated old rules_file config key in favor of new rules_files.

@poiana
Copy link
Contributor

poiana commented Aug 12, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@leogr
Copy link
Member

leogr commented Aug 28, 2024

/remove-lifecycle stale

@leogr
Copy link
Member

leogr commented Sep 11, 2024

Good candidate 👉 falcosecurity/libs#2057

@FedeDP
Copy link
Contributor

FedeDP commented Sep 18, 2024

I'd also revisit the systemd units; perhaps we could have Falco packaged per-driver, like falco.rpm (modern_ebpf), falco-kmod.rpm, falco-ebpf.rpm and falco-plugins.rpm ?

Also, we could drop the falco.service alias for falco-kmod (or add it to other units?).

cc @ekoops

Main idea could be to have a single template unit since now we can just have:

ExecStart=/usr/bin/falco -o engine.kind=%i

and then enable the unit like systemctl enable falco@ebpf.
We would lose permissions granularity though.

Another option would be to create a falco.path unit and let other units install themselves in that path.

@leogr
Copy link
Member

leogr commented Sep 18, 2024

I'd also revisit the systemd units; perhaps we could have Falco packaged per-driver, like falco.rpm (modern_ebpf), falco-kmod.rpm, falco-ebpf.rpm and falco-plugins.rpm ?

@FedeDP

I'd prefer to split the drivers into different packages. For example:

  • falco.rpm (modern_ebpf built-in)
  • falco-driver-kmod.rpm (optional package, just the kmod, overwrite the Falco unit, depends on falco.rpm and requires kernel headers)
  • falco-driver-ebpf.rpm (optional package, just the legacy, overwrite the Falco unit, depends on falco.rpm and requires kernel headers)

Installing falco-driver-kmod.rpm and falco-driver-ebpf.rpm simultaneously should be disallowed.

@FedeDP
Copy link
Contributor

FedeDP commented Sep 18, 2024

Yep that is what i proposed :D

@leogr
Copy link
Member

leogr commented Sep 18, 2024

Yep that is what i proposed :D

Great. What I did not understand from your proposal is whether the driver package depends on the main package (or not).

@FedeDP
Copy link
Contributor

FedeDP commented Sep 18, 2024

That's a different story, i have no opinions on that. Either we could ship all packages like "full" packages with just minor differences (eg: falco.service unit would be configured and installed for the chosen driver only), or we could ship a default falco package with the executable and then the driver-flavored packages would install the rest with the needed deps (eg: falco-driver-kmod would install the falco-kmod systemd unit, the /usr/src/falco-... driver sources, would have the dkms and kernel headers deps, and so on)

@leogr
Copy link
Member

leogr commented Sep 18, 2024

That's my point. I'd avoid shipping all packages like full, since it seems to me not aligned with distro best practices. Moreover, the other solution should work better when uninstalling packages (since each package just tracks its own files, and does not overlap with files coming from other packages).

@poiana
Copy link
Contributor

poiana commented Dec 17, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@FedeDP
Copy link
Contributor

FedeDP commented Dec 17, 2024

/remove-lifecycle stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants