buildah run fails with permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
golang-github-containers-buildah (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Reinhard Tartler |
Bug Description
[Impact]
Buildah, a specialized tool for building container images and an alternative to docker, fails to fulfill it's primary use-case: building container images
[Test Plan]
Install new buildah and build a container image
[Where problems could occur]
When testing, keep in mind that while most dockerfiles should just work with 'buildah bud', there might be some corner cases where buildah is not
100% feature compatible with docker.
Original Description follows:
buildah run command is broken in ubuntu 21.10
# buildah from alpine:3
alpine-
# buildah run alpine-
ERRO[0000] container_
error running container: error from runc creating container for [/bin/touch /tmp/foo]: : exit status 1
error while running runtime: exit status 1
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: buildah 1.21.3+ds1-1ubuntu1
ProcVersionSign
Uname: Linux 5.13.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 24 14:28:49 2021
InstallationDate: Installed on 2021-08-02 (113 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: golang-
UpgradeStatus: Upgraded to impish on 2021-10-25 (30 days ago)
Changed in golang-github-containers-buildah (Ubuntu): | |
status: | New → Confirmed |
After reading https:/ /github. com/containers/ common/ issues/ 631, I tried installing crun.
This seems to have resolved the issues with buildah.