Package: sbuild Version: 0.85.10 Severity: normal I have this in my ~/.sbuildrc to make it easy to inspect failed builds:
$purge_build_directory = 'successful'; $purge_session = 'successful'; When a --chroot-mode=unshare build fails, I get: Keeping session: /tmp/tmp.sbuild.0OKgWaMhmi But I can't find any documentation (e.g. in sbuild(1)) of how I should interact with this. I think it's important to document at least these two things: * how to enter the session manually with the correct unshare options and ID mappings * how to safely clean up the session when it's no longer required (can I just rm -rf it? if not, what will happen when systemd-tmpfiles comes round and does so?) -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: riscv64 Kernel: Linux 6.6.15-amd64 (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sbuild depends on: ii adduser 3.137 ii libsbuild-perl 0.85.10 ii perl 5.38.2-5 Versions of packages sbuild recommends: ii autopkgtest 5.35 ii debootstrap 1.0.134 ii schroot 1.6.13-3+b3 ii uidmap 1:4.13+dfsg1-5 Versions of packages sbuild suggests: pn deborphan <none> ii e2fsprogs 1.47.1-1 ii kmod 32+20240327-1 ii wget 1.24.5-1 -- no debconf information Thanks, -- Colin Watson (he/him) [cjwat...@debian.org]