Closed lc-thomas closed 3 years ago
We would need to know what podman command you executed?
What OS? What Version? Was this rootless or rootful?
I have also hit this with rootless podman build on f33:
podman version
Version: 2.2.1
API Version: 2.1.0
Go Version: go1.15.5
Built: Tue Dec 8 09:37:50 2020
OS/Arch: linux/amd64
Containerfile:
FROM docker.io/library/fedora@sha256:e59aca6fc3cbb83ef1a7c903c4c83b26be24c255b8e119cabc9a17726ad93859
RUN yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum
ADD .rpmmacros /root/.rpmmacros
runc:
$ runc -v
runc version 1.0.0-rc92+dev
commit: b69070a5fcb0830b2ea77c637b63a55d4e3726a3
spec: 1.0.2-dev
go: go1.15
libseccomp: 2.5.0
output:
podman build .
STEP 1: FROM docker.io/library/fedora@sha256:e59aca6fc3cbb83ef1a7c903c4c83b26be24c255b8e119cabc9a17726ad93859
STEP 2: RUN yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum
WARN[0000] exit status 1
ERRO[0000] container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting "devpts" to rootfs at "/var/tmp/buildah833047874/mnt/rootfs/dev/pts" caused: invalid argument
error running container: error creating container for [/bin/sh -c yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum]: : exit status 1
Error: error building at STEP "RUN yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum": error while running runtime: exit status 1
@giuseppe Thoughts?
@haircommander Are you sure you are using runc versus crun? Does this happen everytime?
I am not able to reproduce both with crun and runc.
What is the output for buildah unshare cat /proc/self/uid_map
?
Could you run podman unshare strace -Z -v -f -e mount podman build .
and show the output?
[pehunt@localhost fedora-upstream]
$ cat /proc/self/uid_map
0 0 4294967295
[pehunt@localhost fedora-upstream]
$ podman unshare strace -Z -v -f -e mount podman build .
strace: Process 439618 attached
strace: Process 439619 attached
strace: Process 439620 attached
strace: Process 439621 attached
strace: Process 439622 attached
strace: Process 439623 attached
[pid 439621] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439621] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439624 attached
strace: Process 439625 attached
[pid 439617] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439617] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439617] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439617] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439626 attached
[pid 439617] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439617] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439617] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439627 attached
[pid 439627] +++ exited with 0 +++
[pid 439620] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439627, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
STEP 1: FROM docker.io/library/fedora@sha256:e59aca6fc3cbb83ef1a7c903c4c83b26be24c255b8e119cabc9a17726ad93859
[pid 439620] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439626] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439628 attached
[pid 439626] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439623] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439620] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439620] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439624] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439623] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439628] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439624] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439629 attached
[pid 439621] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439623] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439621] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439621] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439621] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439630 attached
strace: Process 439631 attached
[pid 439630] +++ exited with 0 +++
[pid 439619] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439630, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
STEP 2: RUN yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum
[pid 439619] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439633 attached
strace: Process 439634 attached
strace: Process 439635 attached
strace: Process 439636 attached
strace: Process 439637 attached
strace: Process 439638 attached
strace: Process 439639 attached
strace: Process 439640 attached
[pid 439637] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
strace: Process 439641 attached
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439635] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
strace: Process 439642 attached
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439639] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439637] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439641] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439635] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439637] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439635] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439637] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439635] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
strace: Process 439643 attached
[pid 439641] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439642] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439640] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439635] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439639] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
strace: Process 439644 attached
[pid 439641] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439635] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439633] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439633, si_uid=0} ---
[pid 439644] +++ exited with 0 +++
[pid 439643] +++ exited with 0 +++
[pid 439642] +++ exited with 0 +++
[pid 439641] +++ exited with 0 +++
[pid 439640] +++ exited with 0 +++
[pid 439639] +++ exited with 0 +++
[pid 439638] +++ exited with 0 +++
[pid 439637] +++ exited with 0 +++
[pid 439636] +++ exited with 0 +++
[pid 439635] +++ exited with 0 +++
[pid 439634] +++ exited with 0 +++
[pid 439633] +++ exited with 0 +++
[pid 439621] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439633, si_uid=0, si_status=0, si_utime=3, si_stime=6} ---
strace: Process 439645 attached
strace: Process 439646 attached
strace: Process 439647 attached
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
strace: Process 439648 attached
strace: Process 439649 attached
strace: Process 439650 attached
strace: Process 439651 attached
[pid 439648] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
strace: Process 439652 attached
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
strace: Process 439653 attached
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439653] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
strace: Process 439655 attached
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439653] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439648] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439653] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439653] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439653] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439645] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439645, si_uid=0} ---
[pid 439655] +++ exited with 0 +++
[pid 439653] +++ exited with 0 +++
[pid 439652] +++ exited with 0 +++
[pid 439651] +++ exited with 0 +++
[pid 439649] +++ exited with 0 +++
[pid 439648] +++ exited with 0 +++
[pid 439647] +++ exited with 0 +++
[pid 439646] +++ exited with 0 +++
[pid 439650] +++ exited with 0 +++
[pid 439645] +++ exited with 0 +++
[pid 439621] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439645, si_uid=0, si_status=0, si_utime=3, si_stime=7} ---
strace: Process 439656 attached
strace: Process 439657 attached
strace: Process 439658 attached
strace: Process 439659 attached
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
strace: Process 439660 attached
strace: Process 439661 attached
strace: Process 439662 attached
[pid 439659] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439659] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
strace: Process 439663 attached
strace: Process 439664 attached
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439662] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439660] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
strace: Process 439665 attached
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439659] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
strace: Process 439666 attached
[pid 439664] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439662] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439659] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439656] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439656, si_uid=0} ---
[pid 439663] +++ exited with 0 +++
[pid 439660] +++ exited with 0 +++
[pid 439666] +++ exited with 0 +++
[pid 439664] +++ exited with 0 +++
[pid 439662] +++ exited with 0 +++
[pid 439661] +++ exited with 0 +++
[pid 439659] +++ exited with 0 +++
[pid 439658] +++ exited with 0 +++
[pid 439657] +++ exited with 0 +++
[pid 439665] +++ exited with 0 +++
[pid 439656] +++ exited with 0 +++
[pid 439618] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439656, si_uid=0, si_status=0, si_utime=3, si_stime=7} ---
strace: Process 439667 attached
strace: Process 439668 attached
strace: Process 439669 attached
strace: Process 439670 attached
strace: Process 439671 attached
strace: Process 439672 attached
strace: Process 439673 attached
strace: Process 439674 attached
[pid 439673] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439673] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
strace: Process 439675 attached
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
strace: Process 439676 attached
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439671] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439670] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439671] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439671] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439670] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439676] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439670] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439671] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439671] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439676] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439674] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439671] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439667] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439667, si_uid=0} ---
[pid 439672] +++ exited with 0 +++
[pid 439673] +++ exited with 0 +++
[pid 439676] +++ exited with 0 +++
[pid 439675] +++ exited with 0 +++
[pid 439674] +++ exited with 0 +++
[pid 439671] +++ exited with 0 +++
[pid 439670] +++ exited with 0 +++
[pid 439669] +++ exited with 0 +++
[pid 439668] +++ exited with 0 +++
[pid 439667] +++ exited with 0 +++
[pid 439629] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439667, si_uid=0, si_status=0, si_utime=3, si_stime=6} ---
strace: Process 439677 attached
strace: Process 439678 attached
strace: Process 439679 attached
strace: Process 439680 attached
strace: Process 439681 attached
strace: Process 439682 attached
strace: Process 439683 attached
strace: Process 439684 attached
[pid 439683] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
strace: Process 439685 attached
[pid 439681] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
strace: Process 439686 attached
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439683] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
strace: Process 439687 attached
[pid 439683] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439679] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439685] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439677] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439677, si_uid=0} ---
[pid 439686] +++ exited with 0 +++
[pid 439687] +++ exited with 0 +++
[pid 439685] +++ exited with 0 +++
[pid 439684] +++ exited with 0 +++
[pid 439682] +++ exited with 0 +++
[pid 439681] +++ exited with 0 +++
[pid 439679] +++ exited with 0 +++
[pid 439678] +++ exited with 0 +++
[pid 439683] +++ exited with 0 +++
[pid 439680] +++ exited with 0 +++
[pid 439677] +++ exited with 0 +++
[pid 439629] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439677, si_uid=0, si_status=0, si_utime=2, si_stime=6} ---
[pid 439621] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439688 attached
strace: Process 439689 attached
strace: Process 439690 attached
strace: Process 439691 attached
strace: Process 439692 attached
strace: Process 439693 attached
strace: Process 439694 attached
[pid 439691] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
strace: Process 439695 attached
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439690] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
strace: Process 439696 attached
strace: Process 439697 attached
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439691] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439691] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439691] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
strace: Process 439698 attached
[pid 439695] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439690] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
[pid 439688] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439688, si_uid=0} ---
strace: Process 439699 attached
strace: Process 439700 attached
strace: Process 439701 attached
[pid 439699] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439699, si_uid=0} ---
strace: Process 439702 attached
strace: Process 439703 attached
strace: Process 439704 attached
[pid 439699] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439699, si_uid=0} ---
strace: Process 439705 attached
strace: Process 439706 attached
strace: Process 439707 attached
strace: Process 439708 attached
[pid 439707] +++ exited with 0 +++
[pid 439705] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439707, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
[pid 439706] +++ exited with 0 +++
[pid 439705] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439706, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 439709 attached
strace: Process 439710 attached
strace: Process 439711 attached
strace: Process 439712 attached
strace: Process 439713 attached
strace: Process 439714 attached
[pid 439708] mount("devpts", "/var/tmp/buildah669542431/mnt/rootfs/dev/pts", "devpts", MS_NOSUID|MS_NOEXEC, "newinstance,ptmxmode=0666,mode=0"...) = -1 EINVAL (Invalid argument)
[pid 439705] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439699, si_uid=0} ---
[pid 439714] +++ exited with 1 +++
[pid 439713] +++ exited with 1 +++
[pid 439712] +++ exited with 1 +++
[pid 439711] +++ exited with 1 +++
[pid 439710] +++ exited with 1 +++
[pid 439709] +++ exited with 1 +++
[pid 439708] +++ exited with 1 +++
[pid 439703] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439708, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
WARN[0000] exit status 1
ERRO[0000] container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting "devpts" to rootfs at "/var/tmp/buildah669542431/mnt/rootfs/dev/pts" caused: invalid argument
[pid 439705] +++ exited with 1 +++
[pid 439704] +++ exited with 1 +++
[pid 439703] +++ exited with 1 +++
[pid 439702] +++ exited with 1 +++
[pid 439701] +++ exited with 1 +++
[pid 439700] +++ exited with 1 +++
[pid 439699] +++ exited with 1 +++
[pid 439688] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439699, si_uid=0, si_status=1, si_utime=0, si_stime=2} ---
error running container: error creating container for [/bin/sh -c yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum]: : exit status 1
[pid 439696] +++ exited with 1 +++
[pid 439698] +++ exited with 1 +++
[pid 439693] +++ exited with 1 +++
[pid 439692] +++ exited with 1 +++
[pid 439697] +++ exited with 1 +++
[pid 439695] +++ exited with 1 +++
[pid 439694] +++ exited with 1 +++
[pid 439691] +++ exited with 1 +++
[pid 439689] +++ exited with 1 +++
[pid 439690] +++ exited with 1 +++
[pid 439688] +++ exited with 1 +++
[pid 439619] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439688, si_uid=0, si_status=1, si_utime=3, si_stime=6} ---
[pid 439619] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439626] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439621] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439716 attached
[pid 439626] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439620] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439620] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439628] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439717 attached
[pid 439626] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439620] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439628] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439629] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
[pid 439626] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=439617, si_uid=0} ---
strace: Process 439718 attached
[pid 439718] +++ exited with 0 +++
[pid 439716] +++ exited with 0 +++
[pid 439717] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439716, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
[pid 439631] +++ exited with 0 +++
Error: error building at STEP "RUN yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum": error while running runtime: exit status 1
[pid 439629] +++ exited with 125 +++
[pid 439626] +++ exited with 125 +++
[pid 439624] +++ exited with 125 +++
[pid 439717] +++ exited with 125 +++
[pid 439623] +++ exited with 125 +++
[pid 439622] +++ exited with 125 +++
[pid 439621] +++ exited with 125 +++
[pid 439620] +++ exited with 125 +++
[pid 439618] +++ exited with 125 +++
[pid 439625] +++ exited with 125 +++
[pid 439628] +++ exited with 125 +++
[pid 439619] +++ exited with 125 +++
+++ exited with 125 +++
Error: exit status 125
thanks for the additional information.
mount("devpts", "/var/tmp/buildah669542431/mnt/rootfs/dev/pts", "devpts", MS_NOSUID|MS_NOEXEC, "newinstance,ptmxmode=0666,mode=0"...) = -1 EINVAL (Invalid argument)
the last argument was truncated :( Could you try adding -s 10000
to the same strace command?
Could you please run the cat /proc/self/uid_map
command in a podman unshare
session: podman unshare cat /proc/self/uid_map
)?
I'd like to check we are not passing gid=5
when a single ID is available
[pehunt@localhost fedora-upstream]
$ podman unshare cat /proc/self/uid_map
0 1000 1
[pehunt@localhost fedora-upstream]
$ podman unshare strace -s 10000 -Z -v -f -e mount podman build .
strace: Process 447933 attached
strace: Process 447934 attached
strace: Process 447935 attached
strace: Process 447936 attached
strace: Process 447937 attached
strace: Process 447938 attached
[pid 447937] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 447939 attached
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447934] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447934] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447932] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447932] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 447940 attached
strace: Process 447941 attached
[pid 447932] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447932] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 447942 attached
[pid 447932] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447934] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447932] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447932] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447932] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 447943 attached
[pid 447943] +++ exited with 0 +++
[pid 447936] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=447943, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
STEP 1: FROM docker.io/library/fedora@sha256:e59aca6fc3cbb83ef1a7c903c4c83b26be24c255b8e119cabc9a17726ad93859
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447937] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447941] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 447944 attached
strace: Process 447945 attached
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 447946 attached
[pid 447945] +++ exited with 0 +++
[pid 447940] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=447945, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
STEP 2: RUN yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum
[pid 447940] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 447948 attached
strace: Process 447949 attached
strace: Process 447950 attached
strace: Process 447951 attached
strace: Process 447952 attached
strace: Process 447953 attached
strace: Process 447954 attached
strace: Process 447955 attached
[pid 447955] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
strace: Process 447956 attached
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
strace: Process 447957 attached
[pid 447955] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
strace: Process 447958 attached
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447948] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447948, si_uid=0} ---
[pid 447958] +++ exited with 0 +++
[pid 447955] +++ exited with 0 +++
[pid 447957] +++ exited with 0 +++
[pid 447956] +++ exited with 0 +++
[pid 447954] +++ exited with 0 +++
[pid 447953] +++ exited with 0 +++
[pid 447952] +++ exited with 0 +++
[pid 447951] +++ exited with 0 +++
[pid 447950] +++ exited with 0 +++
[pid 447949] +++ exited with 0 +++
[pid 447948] +++ exited with 0 +++
[pid 447940] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=447948, si_uid=0, si_status=0, si_utime=3, si_stime=6} ---
strace: Process 447959 attached
strace: Process 447960 attached
strace: Process 447961 attached
strace: Process 447962 attached
strace: Process 447963 attached
strace: Process 447964 attached
strace: Process 447965 attached
[pid 447961] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
strace: Process 447966 attached
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
strace: Process 447967 attached
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
strace: Process 447968 attached
strace: Process 447969 attached
[pid 447967] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447968] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447961] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447959] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447959, si_uid=0} ---
[pid 447969] +++ exited with 0 +++
[pid 447968] +++ exited with 0 +++
[pid 447967] +++ exited with 0 +++
[pid 447965] +++ exited with 0 +++
[pid 447964] +++ exited with 0 +++
[pid 447963] +++ exited with 0 +++
[pid 447962] +++ exited with 0 +++
[pid 447961] +++ exited with 0 +++
[pid 447960] +++ exited with 0 +++
[pid 447966] +++ exited with 0 +++
[pid 447959] +++ exited with 0 +++
[pid 447936] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=447959, si_uid=0, si_status=0, si_utime=3, si_stime=5} ---
strace: Process 447970 attached
strace: Process 447971 attached
strace: Process 447972 attached
strace: Process 447973 attached
strace: Process 447974 attached
strace: Process 447975 attached
strace: Process 447976 attached
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447972] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447974] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
strace: Process 447977 attached
[pid 447974] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447972] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
strace: Process 447978 attached
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
strace: Process 447979 attached
[pid 447978] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447977] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447970] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447970, si_uid=0} ---
[pid 447979] +++ exited with 0 +++
[pid 447976] +++ exited with 0 +++
[pid 447975] +++ exited with 0 +++
[pid 447974] +++ exited with 0 +++
[pid 447973] +++ exited with 0 +++
[pid 447972] +++ exited with 0 +++
[pid 447978] +++ exited with 0 +++
[pid 447977] +++ exited with 0 +++
[pid 447971] +++ exited with 0 +++
[pid 447970] +++ exited with 0 +++
[pid 447944] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=447970, si_uid=0, si_status=0, si_utime=4, si_stime=5} ---
strace: Process 447980 attached
strace: Process 447981 attached
strace: Process 447982 attached
strace: Process 447983 attached
strace: Process 447984 attached
strace: Process 447985 attached
strace: Process 447986 attached
[pid 447982] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
strace: Process 447987 attached
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
strace: Process 447988 attached
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447987] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
strace: Process 447989 attached
strace: Process 447990 attached
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447982] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447982] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447980] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447980, si_uid=0} ---
[pid 447990] +++ exited with 0 +++
[pid 447989] +++ exited with 0 +++
[pid 447988] +++ exited with 0 +++
[pid 447987] +++ exited with 0 +++
[pid 447985] +++ exited with 0 +++
[pid 447984] +++ exited with 0 +++
[pid 447983] +++ exited with 0 +++
[pid 447982] +++ exited with 0 +++
[pid 447981] +++ exited with 0 +++
[pid 447986] +++ exited with 0 +++
[pid 447980] +++ exited with 0 +++
[pid 447944] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=447980, si_uid=0, si_status=0, si_utime=3, si_stime=5} ---
strace: Process 447991 attached
strace: Process 447992 attached
strace: Process 447993 attached
strace: Process 447994 attached
strace: Process 447995 attached
strace: Process 447996 attached
strace: Process 447997 attached
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447994] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447994] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
strace: Process 447998 attached
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447994] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447995] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447993] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
strace: Process 447999 attached
strace: Process 448000 attached
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447999] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
strace: Process 448001 attached
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447994] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447991] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447991, si_uid=0} ---
[pid 447998] +++ exited with 0 +++
[pid 448001] +++ exited with 0 +++
[pid 448000] +++ exited with 0 +++
[pid 447996] +++ exited with 0 +++
[pid 447997] +++ exited with 0 +++
[pid 447995] +++ exited with 0 +++
[pid 447994] +++ exited with 0 +++
[pid 447993] +++ exited with 0 +++
[pid 447992] +++ exited with 0 +++
[pid 447999] +++ exited with 0 +++
[pid 447991] +++ exited with 0 +++
[pid 447936] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=447991, si_uid=0, si_status=0, si_utime=3, si_stime=5} ---
[pid 447944] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447942] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447941] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447940] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447936] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447940] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447944] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 448002 attached
strace: Process 448003 attached
[pid 447939] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
[pid 447939] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=447932, si_uid=0} ---
strace: Process 448004 attached
strace: Process 448005 attached
strace: Process 448006 attached
strace: Process 448007 attached
strace: Process 448008 attached
strace: Process 448009 attached
strace: Process 448010 attached
[pid 448010] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
strace: Process 448011 attached
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448006] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
strace: Process 448012 attached
[pid 448010] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448006] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448010] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448011] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
strace: Process 448013 attached
strace: Process 448014 attached
strace: Process 448015 attached
strace: Process 448016 attached
strace: Process 448017 attached
strace: Process 448018 attached
strace: Process 448019 attached
strace: Process 448020 attached
[pid 448016] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448013, si_uid=0} ---
strace: Process 448021 attached
strace: Process 448022 attached
[pid 448021] +++ exited with 0 +++
[pid 448016] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=448021, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
[pid 448020] +++ exited with 0 +++
[pid 448016] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=448020, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 448023 attached
strace: Process 448024 attached
[pid 448022] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=1, si_uid=0} ---
strace: Process 448025 attached
strace: Process 448026 attached
strace: Process 448027 attached
strace: Process 448028 attached
[pid 448022] mount("devpts", "/var/tmp/buildah997280772/mnt/rootfs/dev/pts", "devpts", MS_NOSUID|MS_NOEXEC, "newinstance,ptmxmode=0666,mode=0620,gid=5,context=\"system_u:object_r:container_file_t:s0:c319,c840\"") = -1 EINVAL (Invalid argument)
[pid 448016] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448013, si_uid=0} ---
[pid 448027] +++ exited with 1 +++
[pid 448026] +++ exited with 1 +++
[pid 448023] +++ exited with 1 +++
[pid 448025] +++ exited with 1 +++
[pid 448028] +++ exited with 1 +++
[pid 448024] +++ exited with 1 +++
[pid 448022] +++ exited with 1 +++
[pid 448017] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=448022, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
WARN[0000] exit status 1
ERRO[0000] container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting "devpts" to rootfs at "/var/tmp/buildah997280772/mnt/rootfs/dev/pts" caused: invalid argument
[pid 448019] +++ exited with 1 +++
[pid 448018] +++ exited with 1 +++
[pid 448017] +++ exited with 1 +++
[pid 448016] +++ exited with 1 +++
[pid 448015] +++ exited with 1 +++
[pid 448014] +++ exited with 1 +++
[pid 448013] +++ exited with 1 +++
[pid 448002] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=448013, si_uid=0, si_status=1, si_utime=0, si_stime=2} ---
[pid 448002] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=448002, si_uid=0} ---
error running container: error creating container for [/bin/sh -c yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum]: : exit status 1
[pid 448012] +++ exited with 1 +++
[pid 448011] +++ exited with 1 +++
[pid 448010] +++ exited with 1 +++
[pid 448009] +++ exited with 1 +++
[pid 448008] +++ exited with 1 +++
[pid 448007] +++ exited with 1 +++
[pid 448006] +++ exited with 1 +++
[pid 448005] +++ exited with 1 +++
[pid 448004] +++ exited with 1 +++
[pid 448002] +++ exited with 1 +++
[pid 447939] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=448002, si_uid=0, si_status=1, si_utime=4, si_stime=7} ---
strace: Process 448029 attached
strace: Process 448030 attached
[pid 448030] +++ exited with 0 +++
[pid 448029] +++ exited with 0 +++
[pid 447939] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=448029, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
[pid 447946] +++ exited with 0 +++
Error: error building at STEP "RUN yum update && yum install -y 'dnf-command(builddep)' rpmdevtools && yum clean all && rm -rf /var/cache/yum": error while running runtime: exit status 1
[pid 447938] +++ exited with 125 +++
[pid 447937] +++ exited with 125 +++
[pid 447944] +++ exited with 125 +++
[pid 447936] +++ exited with 125 +++
[pid 448003] +++ exited with 125 +++
[pid 447940] +++ exited with 125 +++
[pid 447934] +++ exited with 125 +++
[pid 447942] +++ exited with 125 +++
[pid 447941] +++ exited with 125 +++
[pid 447939] +++ exited with 125 +++
[pid 447935] +++ exited with 125 +++
[pid 447933] +++ exited with 125 +++
+++ exited with 125 +++
yes, the issue seems to be with gid=5
even if we have only one uid available.
Is the BUILDAH_ISOLATION
variable defined in your environment?
Does it work if you force it to rootless (podman build --isolation rootless
)?
yes that does work! and no, the env var is not defined
thanks for confirming it! PR here: https://github.com/containers/buildah/pull/2854
Description After updating podman following the website instructions : https://podman.io/getting-started/installation
I get those errors when building an image :
Steps to reproduce the issue:
Describe the results you received: Not sure how to describe that, it just crashed.
Describe the results you expected: I expected pip to install those packages and the build to succeed
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:*Output of `cat /etc/release`:**
Output of
uname -a
:Output of
cat /etc/containers/storage.conf
: