Hi,

I'm seeing this failure again with sbuild 0.91.11 and Incus 7.0.2.
The Incus client also reproduces it directly, without sbuild:

  $ env -u INCUS_CONF HOME=/sbuild-nonexistent incus list local:
  Error: mkdir /sbuild-nonexistent: permission denied

The command exits with status 1. In sbuild, the same error prevents
it from locking the chroot session.

I traced this to Incus commit 1f17f8b44e, which replaced the explicit
check that $HOME exists with os.UserConfigDir(). That function can
return $HOME/.config even if $HOME doesn't exist, so the client
skips the fallback and tries to create the directory.

https://github.com/lxc/incus/commit/1f17f8b44ed7480970e552ce0d76604b7e527b49

Thanks,
Matt

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to