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

meta-lxatac-software: podman: add patch to start in multi-user.target #206

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

hnez
Copy link
Member

@hnez hnez commented Nov 11, 2024

By default the podman.service starts as part of the default.target. This means it also starts on the very first boot of a newly LXA TAC image, where we boot into system-update.target instead of multi-user.target.

We do not want that, because it ends up cluttering /srv/containers on the root filesystem with files, instead of writing to the partition that will be mounted there on later boots.

Fix that by applying a patch for now, while upstreaming it at the same time for later.

The patch is submitted as containers/podman#24524 upstream. It will need some modifications to be fully upstreamable, but they should not affect us here.

By default the podman.service starts as part of the default.target.
This means it also starts on the very first boot of a newly LXA TAC
image, where we boot into `system-update.target` instead of
`multi-user.target`.

We do not want that, because it ends up cluttering `/srv/containers`
on the root filesystem with files, instead of writing to the partition
that will be mounted there on later boots.

Fix that by applying a patch for now, while upstreaming it at the
same time for later.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@hnez hnez merged commit a0e8816 into linux-automation:scarthgap Nov 14, 2024
4 checks passed
@hnez hnez deleted the podman-firstboot branch November 14, 2024 09:36
hnez added a commit to hnez/labgrid-lxatac that referenced this pull request Nov 14, 2024
A fix is merged in meta-lxatac that should fix this issue:

  linux-automation/meta-lxatac#206

If it is not indeed fixed or returns we want the test to fail again.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
hnez added a commit to hnez/labgrid-lxatac that referenced this pull request Nov 14, 2024
A fix is merged in meta-lxatac that should fix this issue:

  linux-automation/meta-lxatac#206

If it is not indeed fixed or returns we want the test to fail again.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
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.

2 participants