Package: autopkgtest Version: 5.37 Severity: normal Dear Maintainer,
I'm trying to use the autopkgtest podman server to run a test that requires the capability "isolation-container". From the manpage, I understand that I need to create a container image with like this: $ autopkgtest-build-podman --init=systemd --apt-proxy " " [...] --> 080a41d72252 STEP 14/14: CMD ["/sbin/init"] COMMIT autopkgtest/systemd/debian:unstable --> 576ad2a556a1 Successfully tagged localhost/autopkgtest/systemd/debian:unstable 576ad2a556a11fb157f1668df1623712448c276b8213209292d16a3bae448876 Now I'm trying to use this image to run the etcd tests: $ autopkgtest --test-name=integration -B . -- podman --init localhost/autopkgtest/systemd/debian:unstable autopkgtest [17:23:47]: starting date and time: 2024-08-03 17:23:47-0400 autopkgtest [17:23:47]: version 5.37 autopkgtest [17:23:47]: host x1; command line: /usr/bin/autopkgtest --test-name=integration -B . -- podman --init localhost/autopkgtest/systemd/debian:unstable info: Adding user `test' ... info: Selecting UID/GID from range 1000 to 59999 ... info: Adding new group `test' (1000) ... info: Adding new user `test' (1000) with group `test (1000)' ... info: Creating home directory `/home/test' ... info: Copying files from `/etc/skel' ... info: Adding new user `test' to supplemental / extra groups `users' ... info: Adding user `test' to group `users' ... autopkgtest [17:23:49]: ERROR: "sh -euc #!/bin/sh # Copyright 2022 Simon McVittie # SPDX-License-Identifier: GPL-2.0-or-later # create-normal-user [USERNAME] # Create an ordinary, unprivileged user. set -eu usage () { echo "Usage: create-normal-user [USERNAME]" >&2 exit 2 } create () { # shellcheck disable=SC3043 local user="$1" shift if command -v adduser >/dev/null; then adduser \ --disabled-login \ --gecos 'Temporary autopkgtest user,,,' \ "$user" elif command -v useradd >/dev/null; then useradd \ --comment 'Temporary autopkgtest user' \ --create-home \ --expiredate '' \ --user-group \ "$user" else echo "Neither adduser nor useradd is installed" >&2 return 1 fi echo "$user" > /run/autopkgtest-normal-user } case "${1-}" in (--) shift ;; (-*) usage ;; esac if [ "$#" -gt 1 ]; then usage fi if [ "$#" -eq 1 ]; then create "$1" exit 0 fi tries=20 for i in $(seq 0 "$tries"); do if [ "$i" = 0 ]; then user="test" else random=$(mktemp /tmp/test-XXXXXX) user="$(basename "$random")" rm -f "$random" fi if getent passwd "$user" >/dev/null; then echo "create-normal-user: '$user' already exists" else create "$user" exit 0 fi done echo "create-normal-user: Unable to generate a new username (tried $tries times)" >&2 exit 1 " failed with stderr "logger: send message failed: Operation not permitted logger: send message failed: Operation not permitted logger: send message failed: Operation not permitted logger: send message failed: Operation not permitted logger: send message failed: Operation not permitted logger: send message failed: Operation not permitted logger: send message failed: Operation not permitted logger: send message failed: Operation not permitted " Where is this Operation not permitted coming from? Is there an issue with the image creation or is this something else? Best, -rt -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.9.12-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set 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.9.6 ii libdpkg-perl 1.22.10 ii mawk 1.3.4.20240622-2 ii procps 2:4.0.4-5 ii python3 3.12.4-1 ii python3-debian 0.1.49 Versions of packages autopkgtest recommends: ii autodep8 0.28+nmu1 ii fakeroot 1.33-1 Versions of packages autopkgtest suggests: pn docker.io <none> ii fakemachine 0.0.10-1 ii genisoimage 9:1.1.11-3.5 pn incus <none> ii lxc 1:6.0.1-1 pn lxd <none> ii ovmf 2024.05-1 pn ovmf-ia32 <none> ii podman 5.0.3+ds1-1 ii python3-distro-info 1.7 ii qemu-efi-aarch64 2024.05-1 ii qemu-efi-arm 2024.05-1 pn qemu-efi-riscv64 <none> ii qemu-system 1:8.2.4+ds-1 ii qemu-utils 1:8.2.4+ds-1 ii schroot 1.6.13-3+b3 ii util-linux 2.40.2-1 ii vmdb2 0.40-1 ii zerofree 1.1.1-1+b1 -- no debconf information