Ian Jackson writes ("Re: Bug#986665: $HOME not writable when using schroot"): ... > * Decide that virt servers are allowed to not provide $HOME. > Have the autopkgtest virt core check to see if some home directory > exists, and "polyfill" it by using something near $AUTOPKGTEST_TMP. > (Not *within* $AUTOPKGTEST_TMP because that namespace belongs to > the test, not to autopkgtest.)
ISTM that this is probably the best option if we suspect that other virt providers might also end up using images without a useful $HOME. That would avoid having to play whack-a-mole with image creaetion scripts, dockerfiles, and whatnot. There's a slightly subtle question: what if the image-provided $HOME exists but isn't writeable? I think replacing it with an empty dummy would be Highly Surprising and undesirable. We should probably just pass it to the test and hope. If the test fails for this reason presumably it will print something in its logs. Ian. -- Ian Jackson <ijack...@chiark.greenend.org.uk> These opinions are my own. Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.