/kind bug
apt update -y && apt upgrade -y && apt install podman --install-recommends -y
podman run -it --log-level=debug --net=host k8s.gcr.io/busybox sh
DEBU[0000] Initializing event backend file
WARN[0000] Error initializing configured OCI runtime kata: no valid executable found for OCI runtime kata: invalid argument
WARN[0000] Error initializing configured OCI runtime runc: no valid executable found for OCI runtime runc: invalid argument
DEBU[0000] using runtime "/usr/bin/crun"
Error: default OCI runtime "runc" not found: invalid argument
root@u01:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.10 (Groovy Gorilla)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.10"
VERSION_ID="20.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy
root@u01:~# apt-get install runc && echo && podman run -it --net=host k8s.gcr.io/busybox cat /etc/os-release
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
runc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2553 kB of archives.
After this operation, 11.0 MB of additional disk space will be used.
Selecting previously unselected package runc.
(Reading database ... 32162 files and directories currently installed.)
Preparing to unpack .../runc_1.0.0~rc10-0ubuntu2_amd64.deb ...
Unpacking runc (1.0.0~rc10-0ubuntu2) ...
Setting up runc (1.0.0~rc10-0ubuntu2) ...
Processing triggers for man-db (2.9.3-2) ...
NAME=Buildroot
VERSION=2014.02
ID=buildroot
VERSION_ID=2014.02
PRETTY_NAME="Buildroot 2014.02"
root@u01:~# podman version
Version: 2.0.6
API Version: 1
Go Version: go1.14.7
Built: Thu Jan 1 00:00:00 1970
OS/Arch: linux/amd64
host:
arch: amd64
buildahVersion: 1.15.2
cgroupVersion: v1
conmon:
package: 'conmon: /usr/libexec/podman/conmon'
path: /usr/libexec/podman/conmon
version: 'conmon version 2.0.20, commit: unknown'
cpus: 8
distribution:
distribution: ubuntu
version: "20.10"
eventLogger: file
hostname: u01
idMappings:
gidmap: null
uidmap: null
kernel: 5.8.0-7625-generic
linkmode: dynamic
memFree: 32338182144
memTotal: 33374785536
ociRuntime:
name: runc
package: 'runc: /usr/sbin/runc'
path: /usr/sbin/runc
version: 'runc version spec: 1.0.1-dev'
os: linux
remoteSocket:
exists: true
path: /run/podman/podman.sock
rootless: false
slirp4netns:
executable: ""
package: ""
version: ""
swapFree: 0
swapTotal: 0
uptime: 19m 13.58s
registries:
search:
- quay.io
- docker.io
store:
configFile: /etc/containers/storage.conf
containerStore:
number: 4
paused: 0
running: 0
stopped: 4
graphDriverName: overlay
graphOptions: {}
graphRoot: /var/lib/containers/storage
graphStatus:
Backing Filesystem: btrfs
Native Overlay Diff: "false"
Supports d_type: "true"
Using metacopy: "false"
imageStore:
number: 1
runRoot: /var/run/containers/storage
volumePath: /var/lib/containers/storage/volumes
version:
APIVersion: 1
Built: 0
BuiltTime: Thu Jan 1 00:00:00 1970
GitCommit: ""
GoVersion: go1.14.7
OsArch: linux/amd64
Version: 2.0.6
podman/groovy,now 2.0.6+dfsg1-1ubuntu1 amd64 [installed]
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Local clean install of Ubuntu
the latest version is 2.1.1, did you try with it?
Oooofffff I fell for one of the classic blunders and wasn't thorough in checking versions. I'm sorry, closing this bug. That was it!
@usrbinkat btw, with ubuntu 20.10, the packages are available in the default ubuntu repos itself, so I think the best place to report future packaging/installation issues would be ubuntu's launchpad site. Issues for older ubuntus can be reported here.
@lsm5 That is fair, apparently 2.0.6 from September was what I got from default ppa's and I had to go find version 2.1.1 so it makes sense that the packages will be updating as usual.
I'm seeing this as well on Ubuntu 20.10. Is there an official deb package or alternate PPA for podman/buildah that I should be using instead of the default Ubuntu 20.10 repos? Or should I be putting in a request to Ubuntu to update?
@alanhoyle I ran into the same issue on Ubuntu 20.10 (after doing sudo apt install -y buildah podman on a fresh install). The issue can be resolved with sudo apt install -y runc && sudo systemctl start podman. In a different thread someone linked to an upstream bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971253.
Most helpful comment
@alanhoyle I ran into the same issue on Ubuntu 20.10 (after doing
sudo apt install -y buildah podmanon a fresh install). The issue can be resolved withsudo apt install -y runc && sudo systemctl start podman. In a different thread someone linked to an upstream bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971253.