On 2025-05-25 15:21, Santiago Vila wrote:
Is your /tmp in tmpfs? (default in trixie)
If yes, can you disable it and try without it?
I've built the package with autopkgtest-virt-qemu like this:
$ autopkgtest --shell -U . -- qemu -c8 /tmp/unstable.img
autopkgtest [06:38:06]: starting date and time: 2025-05-27 06:38:06-0400
autopkgtest [06:38:06]: version 5.49
autopkgtest [06:38:06]: host x1; command line: /usr/bin/autopkgtest
--shell -U . -- qemu -c8 /tmp/unstable.img
autopkgtest [06:38:24]: testbed dpkg architecture: amd64
autopkgtest [06:38:24]: testbed apt version: 3.0.2
[...]
make[1]: Leaving directory '/tmp/autopkgtest.kaN4jw/autopkgtest_tmp'
create-stamp debian/debhelper-build-stamp
autopkgtest [06:43:36]: test dh-golang-autopkgtest:
-----------------------]
autopkgtest [06:43:37]: test dh-golang-autopkgtest: - - - - - - - - - -
results - - - - - - - - - -
dh-golang-autopkgtest PASS
autopkgtest [06:43:37]: - - - - - - - - - - running shell - - - - - - -
- - -
You can now log into the VM through the serial terminal.
Depending on which terminal program you have installed, you can use one
of
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p
10022 user@localhost
minicom -D unix#/tmp/autopkgtest-qemu.5pka1e2x/ttyS0
nc -U /tmp/autopkgtest-qemu.5pka1e2x/ttyS0
socat - UNIX-CONNECT:/tmp/autopkgtest-qemu.5pka1e2x/ttyS0
The tested source package is in
/tmp/autopkgtest.kaN4jw/build.GVu/real-tree
Now in that virtual machine, I've confirmed that no tmpfs is involved:
root@host:~# cat /proc/mounts
cat /proc/mounts
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs
rw,nosuid,relatime,size=988340k,nr_inodes=247085,mode=755,inode64 0 0
devpts /dev/pts devpts
rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000 0 0
tmpfs /run tmpfs
rw,nosuid,nodev,noexec,relatime,size=201936k,mode=755,inode64 0 0
/dev/vda1 / ext4 rw,relatime 0 0
securityfs /sys/kernel/security securityfs
rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
cgroup2 /sys/fs/cgroup cgroup2
rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs
rw,relatime,fd=41,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=5440
0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,nosuid,nodev,relatime,pagesize=2M
0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64
0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run/credentials/systemd-journald.service tmpfs
ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap
0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime
0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc
rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run/credentials/[email protected] tmpfs
ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap
0 0
tmpfs /run/credentials/[email protected] tmpfs
ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap
0 0
tmpfs /run/credentials/[email protected] tmpfs
ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap
0 0
autopkgtest /run/autopkgtest/shared 9p
rw,relatime,access=any,msize=512000,trans=virtio 0 0
tmpfs /run/user/0 tmpfs
rw,nosuid,nodev,relatime,size=201932k,nr_inodes=50483,mode=700,inode64 0
0
root@host:~# grep xattr /proc/mounts
grep xattr /proc/mounts
root@host:~# grep tmpfs /proc/mounts
grep tmpfs /proc/mounts
udev /dev devtmpfs
rw,nosuid,relatime,size=988340k,nr_inodes=247085,mode=755,inode64 0 0
tmpfs /run tmpfs
rw,nosuid,nodev,noexec,relatime,size=201936k,mode=755,inode64 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64
0 0
tmpfs /run/credentials/systemd-journald.service tmpfs
ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap
0 0
tmpfs /run/credentials/[email protected] tmpfs
ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap
0 0
tmpfs /run/credentials/[email protected] tmpfs
ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap
0 0
tmpfs /run/credentials/[email protected] tmpfs
ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap
0 0
tmpfs /run/user/0 tmpfs
rw,nosuid,nodev,relatime,size=201932k,nr_inodes=50483,mode=700,inode64 0
0