Here's two paragraphs, one for each change, for the release notes:

/tmp/ is now by default a tmpfs, via the tmp.mount unit provided by the
systemd package. The previous setup can be restored simply by masking
the unit locally with:

    sudo systemctl mask tmp.mount

or:

    sudo touch /etc/systemd/system/tmp.mount



On new installations, tmpfiles.d will now cleanup by default /tmp/
every 10 days, and /var/tmp/ every 30 days. The legacy behaviour can be
restored with a local override if needed:

    echo 'D /tmp 1777' | sudo tee /etc/tmpfiles.d/tmp.conf

This override will be automatically provided for upgrades of existing
systems from previous releases to Trixie. As a reminder, individual
files and directories can be marked for exclusion from cleanups with
the 'x' type configuration line as described in the tmpfiles.d manpage,
for example:

    echo 'x /tmp/my-precious' | sudo tee /etc/tmpfiles.d/precious.conf

-- 
Kind regards,
Luca Boccassi

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

Reply via email to