On Fri, Dec 26, 2025 at 11:35:54AM +0100, Jochen Sprickerhof wrote:
* Marc Haber <[email protected]> [2025-08-17 11:35]:
iusing $unshare_tmpdir_template = '/var/tmp/tmp.sbuild.XXXXXXXXXX'; in
the sbuild configuration, one can avoid a /tmp overflow if /tmp is a
tmpfs. This is especially important since trixie where /tmp is tmpfs by
default.

This is not honored if the chroot needs to be built, mmdebstrap still
happily fills up /tmp (and then terminates with a VERY misleading error
message).

I think the better option is to use:

$ TMPDIR=/var/tmp sbuild ...

This will put all temporary files below /var/tmp, also for piuparts and autopkgtest since version 0.91.5.

But that cannot be put in configuration and then forgotten, it needs to be remembered every time. Or a wrapper needs to be written and used.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to