Since 4.4.0 cni-plugins is deprecated and shouldn't be the hard dependency anymore
Please confirm if it has been fixed or not.
I tested with podman-4.5.0, and it still defaults to using cni-plugins unless configured to use netavark in containers.conf like this:
network_backend = "netavark"
If cni-plugins is not installed, podman will fail to run unless it is configured like above. The ebuild dependencies accept netavark and aardvark-dns as an alternative to cni-plugins, but it's still the user's responsibility to configure network_backend to use netavark.
So how do other distros list it as "optional" runtime dependency?
Please take a look
Here it says for network_backend:
> The default value is empty which means that it will automatically choose CNI or netavark.
I'll have to investigate to see why I did not observe this automatic behavior.
This is where I found the network_backend documentation:
> CNI is being deprecated from Podman and support will be dropped at a future date. Netavark is now advised and is the default network backend for Podman.
I just want gentoo to have same behaviour as other guys, if they're having it as optional dep so should we.
In my investigation Gentoo doesn't have "containers-common" (https://github.com/containers/common) package in tree, so it's not installed. That package provides default configs & documentation.
The bug has been closed via the following commit(s):
Author: Rahil Bhimjiani <email@example.com>
AuthorDate: 2023-09-21 18:34:24 +0000
Commit: Sam James <firstname.lastname@example.org>
CommitDate: 2023-09-21 22:16:19 +0000
app-containers/containers-common: add 0.56.0 and live
Common configs & docs for Containers eco-system (i.e. podman buildah skopeo...)
Go realm, executables are all in compiled, static, tidy in one binary but docs & configs...OMG all over the place. Spent whole day coding all these (such noob, I know), but was fun & fulfilling. Once this is merged the foundation of podman-stack is built, so will proceed to update frontend packages of eco-system.
Signed-off-by: Rahil Bhimjiani <email@example.com>
Signed-off-by: Sam James <firstname.lastname@example.org>
app-containers/containers-common/Manifest | 1 +
.../containers-common-0.56.0.ebuild | 76 ++
.../containers-common-9999.ebuild | 76 ++
.../containers-common/files/default.yaml | 28 +
.../containers-common/files/fix-warnings.patch | 24 +
app-containers/containers-common/files/mounts.conf | 3 +
app-containers/containers-common/files/policy.json | 14 +
.../containers-common/files/seccomp.json | 1051 ++++++++++++++++++++
app-containers/containers-common/metadata.xml | 17 +
9 files changed, 1290 insertions(+)