Skip to content

Add Ubuntu 22.04/24.04 support - #69

Open
bastelfreak wants to merge 1 commit into
voxpupuli:masterfrom
bastelfreak:ubuntu
Open

Add Ubuntu 22.04/24.04 support#69
bastelfreak wants to merge 1 commit into
voxpupuli:masterfrom
bastelfreak:ubuntu

Conversation

@bastelfreak

Copy link
Copy Markdown
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak self-assigned this Oct 29, 2025
@bastelfreak bastelfreak added the enhancement New feature or request label Oct 29, 2025
@traylenator

Copy link
Copy Markdown
Collaborator

The bash fails on Ubuntu ...

@traylenator

Copy link
Copy Markdown
Collaborator

Okay.

It's because Ubuntu has an extra directory /etc/containers/systemd/users to add quadlets for every user on login. Possibly useful ....

And the cp /etc/containers/systems/* $tmpdir fails.

The sub directory should not be copied at this point.

There's a problem to solve there but that's for another day, don't copy users for now.

@traylenator

Copy link
Copy Markdown
Collaborator

I see how to fix this - leave it with me.

@traylenator

Copy link
Copy Markdown
Collaborator

#72

Definitely helps for this and gets you further , it still won't pass but now a pure podman problem.

@traylenator

Copy link
Copy Markdown
Collaborator
  • Ignoring Ubuntu 20.04
  • On 22.04 - podman 4.9.3
    • spec/acceptance/container_in_pod_spec.rb fails since .pod quadlets are not available. ( validation does not fail :-(, file is ignored, nothing is valid )
    • spec/acceptance/kube_spec.rb actually works for me locally but only one layer of podman.
    • ./spec/acceptance/user_container_spec.rb might work with a release of Use runuser/run0 to connect to systemd --user instance puppet-systemd#577, certainly not worth investigating till then.

@traylenator

Copy link
Copy Markdown
Collaborator

We need a podman version fact , it should not clash with saz-podman.

@traylenator

Copy link
Copy Markdown
Collaborator

Rebase this after - #73

@traylenator

traylenator commented Mar 15, 2026

Copy link
Copy Markdown
Collaborator

In case anyone wants to tackle this ( I really don't on podman 4) they would need to fail harder when a pod quadlet is tested. They are simply skipped over with podman 4 and no service file is generated.

i.e if quadlet type == "pod" and podman version is 4 fail. There is a fact now so its easy to do.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants