Quoting Simon McVittie (2022-04-29 10:58:34) > On Fri, 29 Apr 2022 at 08:34:48 +0100, Julian Gilbey wrote: > > So can I suggest that > > sbuild-setup(7) explains this a bit more and discusses setting up a > > meaningful HOME directory? > > I'm sure patches are accepted, but the problem with this is that what you > want for sbuild does not match what you want for autopkgtest. For sbuild, > the environment that most closely resembles our real, production buildds > involves the /etc/schroot/buildd profile, and a uid whose home directory > is /nonexistent. For autopkgtest, one of the more permissive profiles > like /etc/schroot/desktop is more realistic, and tests are allowed to > assume that they run as a user with a real home directory. > > I would personally recommend one of the better-isolated autopkgtest > backends like -lxc or -qemu for running autopkgtest tests. -qemu doesn't > need root, and there are proposed patches adding backends that use > unprivileged user namespaces (-unshare and Podman), which I should > probably be reviewing instead of replying to this email. Alas, https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/138 was merged 14 hours ago. :) Thanks! cheers, josch
Attachment:
signature.asc
Description: signature