Skip to content

CI: add Rawhide (Podman 6) - #404

Draft
AkihiroSuda wants to merge 1 commit into
rootless-containers:masterfrom
AkihiroSuda:rawhide
Draft

CI: add Rawhide (Podman 6)#404
AkihiroSuda wants to merge 1 commit into
rootless-containers:masterfrom
AkihiroSuda:rawhide

Conversation

@AkihiroSuda

Copy link
Copy Markdown
Member

No description provided.

Two issues had to be addressed for the Rawhide CI job:

1. Fedora 46 confines SSH sessions in the new `sshd_session_t` SELinux
   domain, which is not allowed to `name_connect` to most TCP ports.
   `ssh -L PORT:127.0.0.1:PORT` (used for accessing kube-apiserver from
   outside the host) fails with a silent (dontaudit) denial, surfacing as
   "connection reset by peer" on the tunnel client.
   Install a CIL policy module allowing the connection; the `optional`
   block makes it a NOP on distros that do not define `sshd_session_t`.

2. pasta copies the host's IP address into the rootless network namespace
   by default, so connections from inside the node to HOST_IP:PORT
   (e.g., the ClusterIP of the "kubernetes" service resolving to the
   published kube-apiserver port, or kubelet's ExternalIP) terminate at
   the namespace's own tap device instead of hairpinning via the host.
   This crashed kube-flannel ("Failed to create SubnetManager") and left
   CoreDNS in ContainerCreating.
   Configure `pasta_options` with a dedicated address (same as the
   slirp4netns default) so that such connections are routed out to the
   host.

Verified locally on macOS/Lima with
LIMA_TEMPLATE=template://experimental/fedora-rawhide:
create-cluster-lima.sh, test-smoke.sh, and the restart persistency test
all pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda AkihiroSuda linked an issue Aug 31, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Podman: support Pasta mode

1 participant