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

podman: enforce runtime=runc #972

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Conversation

mwilck
Copy link
Contributor

@mwilck mwilck commented Jan 17, 2024

With the default crun runtime of podman, "osc build" fails because the
--mount option with destination=/ doesn't seem to be supported:

Error: OCI runtime error: crun: mount /mnt/git/build-root/15.5-x86_64/.mount to ``: Invalid argument

fcrozat told me on Slack that setting runc as runtime works, and
indeed it does. But if build depends on this, it should rather set
this runtime explitly.

Signed-off-by: Martin Wilck mwilck@suse.com

With the default crun runtime of podman, "osc build" fails because the
--mount option with destination=/ doesn't seem to be supported:

   Error: OCI runtime error: crun: mount `/mnt/git/build-root/15.5-x86_64/.mount` to ``: Invalid argument

fcrozat told me on Slack that setting runc as runtime works, and
indeed it does. But if build depends on this, it should rather set
this runtime explitly.

Signed-off-by: Martin Wilck <mwilck@suse.com>
@adrianschroeter adrianschroeter merged commit f494100 into openSUSE:master Jan 26, 2024
1 check passed
@mwilck mwilck deleted the enforce-runc branch January 26, 2024 18:31
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