Package: autopkgtest Version: 5.49 Severity: normal When attempting to run a test with umask being 0027, the backend eventually errors out.
Observe: $ umask 0027 $ autopkgtest -U -B libocas -- unshare -r unstable ... Get:1 http://192.168.0.7:9999/debian unstable/main libocas 0.97+dfsg-8 (dsc) [2006 B] Get:2 http://192.168.0.7:9999/debian unstable/main libocas 0.97+dfsg-8 (tar) [5450 kB] Get:3 http://192.168.0.7:9999/debian unstable/main libocas 0.97+dfsg-8 (diff) [8676 B] sh: 1: cannot create /dev/null: Permission denied blame: libocas badpkg: rules extract failed with exit code 2 autopkgtest [12:39:00]: ERROR: erroneous package: rules extract failed with exit code 2 $ umask 0022 $ autopkgtest -U -B libocas -- unshare -r unstable ... autopkgtest [12:39:38]: test executables: -----------------------] autopkgtest [12:39:38]: test executables: - - - - - - - - - - results - - - - - - - - - - executables PASS autopkgtest [12:39:38]: @@@@@@@@@@@@@@@@@@@@ summary executables PASS I've narrowed it down to one line of code and have a workaround for it, though I'm stumped as to why it works. I'll file an MR with more details. Best, Christian -- System Information: Debian Release: 12.11 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.22+bpo-amd64 (SMP w/32 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages autopkgtest depends on: ii apt-utils 2.6.1 ii libdpkg-perl 1.21.22 ii mawk 1.3.4.20200120-3.1 ii procps 2:4.0.2-3 ii python3 3.11.2-1+b1 ii python3-debian 0.1.49 ii python3-distro-info 1.5+deb12u1 ii retry 1.0.5-3 Versions of packages autopkgtest recommends: ii autodep8 0.28 ii fakeroot 1.31-1.2 Versions of packages autopkgtest suggests: pn docker-cli | docker.io <none> pn docker.io <none> pn fakemachine <none> pn genisoimage <none> pn incus <none> pn lxc <none> pn lxd <none> ii mmdebstrap 1.5.6-4~bpo12+1 ii ovmf 2022.11-6+deb12u2 ii ovmf-ia32 2022.11-6+deb12u2 ii podman 4.3.1+ds1-8+deb12u1+b1 ii qemu-efi-aarch64 2022.11-6+deb12u2 ii qemu-efi-arm 2022.11-6+deb12u2 pn qemu-efi-riscv64 <none> ii qemu-system 1:10.0.0+ds-2~bpo12+2 ii qemu-utils 1:10.0.0+ds-2~bpo12+2 pn schroot <none> ii uidmap 1:4.13+dfsg1-1+deb12u1 ii util-linux 2.38.1-5+deb12u3 ii vmdb2 0.28-2+rocm1 ii zerofree 1.1.1-1 -- debconf-show failed