[Piuparts-devel] Bug#1072092: piuparts: switch default tmpdir to /var/tmp/

Helmut Grohne helmut at subdivi.de
Tue May 28 12:14:00 BST 2024


Control: reassign -1 debootstrap
Control: affects -1 + piuparts debos vmdb2

On Tue, May 28, 2024 at 12:08:37PM +0100, Luca Boccassi wrote:
> When piuparts runs debootstrap, it is pointed to the default --tmpdir,
> which absent any configuration or env var is /tmp/, which is now (since
> systemd 256~rc3-3) a tmpfs, which as it is expected it is mounted with
> noudev for security reasons, but debootstrap doesn't like that as it
> wants to create fresh node files.

This is a problem in debootstrap. debootstrap should refrain from
creating device nodes when doing so is not possible. Most consumers of
debootstrap bind mount /dev already. Reassigning.

> Please make piuparts --tmpdir default to /var/tmp if nothing is set, to
> avoid this issue.

Please don't as that would make reduce piuparts performance to crap.

Helmut



More information about the Piuparts-devel mailing list