kernel-crawler icon indicating copy to clipboard operation
kernel-crawler copied to clipboard

Introduce support for Manjaro Linux

Open maxgio92 opened this issue 2 years ago • 12 comments

Motivation

Manjaro is not supported right now. Furthermore, the main consumer of kernel-crawler is the DBG of Falco, of which drivers would be beneficial to be distributed prebuilt on Manjaro machines, without needing to provision them with compiler toolkits.

Feature

Introduce support to discover Manjaro-distributed Linux kernel releases.

Alternatives

Leverage the Arch Linux implementation, configuring <MIRROR_URL>/<MANJARO_DIST>/<REPO_PATH_URI>. (e.g. http://manjaro.ucom.am/stable/core/x86_64/).

I.e. Manjaro Dist is one of: [stable, unstable, testing, arm-stable, arm-unstable, arm-testing]. Repo Path URI are structured the same of Arch Linux ones as they are consumed by ALPM tools (e.g. pacman).

Additional context

NA

maxgio92 avatar May 21 '23 10:05 maxgio92

:+1: for this! It should be super simple too! I am not sure whether we want to support prebuilt drivers for manjaro on test-infra, but falcosecurity is not the only consumer of crawled jsons, therefore i am all for it!

FedeDP avatar May 22 '23 09:05 FedeDP

On a second note: we might want to move archlinux to only crawl latest kernels (instead of using archive.archlinux.org). Archived repos make sense for driverkit (that needs to be able to build even old releases), but kernel-crawler should only find headers for kernel releases currently available in distro repositories IMHO. We could then do the same for manjaro.

Moreover, arch uses a git mirroring; we should move to use it too: https://gitlab.archlinux.org/archlinux/packaging/packages/linux

EDIT: unfortunately, archlinux arm is not using the same git mirroring: https://archlinuxarm.org/packages/aarch64/linux-aarch64/files

FedeDP avatar May 22 '23 10:05 FedeDP

I also discovered that:

  • archlinuxarm has got /usr/lib/os-release but no /etc/os-release (used by falco-driver-loader).
  • archlinuxarm os-release file looks like:
cat /usr/lib/os-release
NAME="Arch Linux ARM"
PRETTY_NAME="Arch Linux ARM"
ID=archarm
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinuxarm.org/"
DOCUMENTATION_URL="https://archlinuxarm.org/wiki"
SUPPORT_URL="https://archlinuxarm.org/forum"
BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"
LOGO=archlinux-logo

So, it has a different ID than the arch one. Given that we don't support prebuilt for archlinux, this is not a big concern right now, but it would be good to address it in the future.

FedeDP avatar May 22 '23 10:05 FedeDP

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

poiana avatar Aug 20 '23 13:08 poiana

/remove-lifecycle stale

FedeDP avatar Aug 23 '23 08:08 FedeDP

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

poiana avatar Nov 21 '23 09:11 poiana

Stale issues rot after 30d of inactivity.

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

Rotten issues close after an additional 30d of inactivity.

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

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

/lifecycle rotten

poiana avatar Dec 21 '23 09:12 poiana

/remove-lifecycle stale

FedeDP avatar Dec 21 '23 10:12 FedeDP

/remove-lifecycle rotten

FedeDP avatar Dec 21 '23 10:12 FedeDP

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

poiana avatar Mar 20 '24 15:03 poiana

Stale issues rot after 30d of inactivity.

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

Rotten issues close after an additional 30d of inactivity.

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

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

/lifecycle rotten

poiana avatar Apr 19 '24 15:04 poiana

/remove-lifecycle rotten

FedeDP avatar Apr 19 '24 16:04 FedeDP

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

poiana avatar Jul 18 '24 22:07 poiana

Stale issues rot after 30d of inactivity.

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

Rotten issues close after an additional 30d of inactivity.

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

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

/lifecycle rotten

poiana avatar Aug 17 '24 22:08 poiana

Since nobody asked for this from the community, we can close this one. /close

Feel free to reopen if needed.

FedeDP avatar Aug 20 '24 08:08 FedeDP

@FedeDP: Closing this issue.

In response to this:

Since nobody asked for this from the community, we can close this one. /close

Feel free to reopen if needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

poiana avatar Aug 20 '24 08:08 poiana