Package: buildah
Version: 1.11.6-1
Severity: normal

Debian installs runc as /usr/sbin/runc, and regular users don't have /usr/sbin
in $PATH, so "buildah run" without "--runtime /usr/sbin/runc" fails:

    $ buildah run debian-working-container -- sh
    error running container: error creating container for [/bin/sh]: : exec: 
"runc": executable file not found in $PATH
    ERRO exit status 1

I'd expect this to work out of the box.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'stable'), 
(1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages buildah depends on:
ii  libc6               2.30-4
ii  libdevmapper1.02.1  2:1.02.167-1+b1
ii  libglib2.0-0        2.64.2-1
ii  libgpgme11          1.13.1-6
ii  libostree-1-1       2020.3-1
ii  libseccomp2         2.4.3-1+b1
ii  libselinux1         3.0-1+b3
ii  uidmap              1:4.8.1-1

Versions of packages buildah recommends:
ii  fuse-overlayfs  1.0.0-1
ii  runc            1.0.0~rc10+dfsg1-1

Versions of packages buildah suggests:
ii  containers-storage  1.15.8+dfsg1-1

-- no debconf information

-- 
Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, http://work.lisk.in/

Reply via email to