Bug#966621: Make /tmp/ a tmpfs and cleanup /var/tmp/ on a timer by default [was: Re: systemd: tmpfiles.d not cleaning /var/tmp by default]

Salvo Tomaselli tiposchi at tiscali.it
Sun May 5 22:21:59 BST 2024


> In case anybody is aware of packages/programs needing an update to cope
> with these changes, or any other issue, please let me know and I will
> file bugs.

in localslackirc at .service

ReadWritePaths=/var/tmp

It uses /var/tmp because it needs a directory with 1777 permissions that is 
permanent, to keep some status.

The user it ends up using is configured by a seting, and is intended to be a 
non-system user (and could be different users for the various instances).

I guess the solution would be to create such a directory when installing, in /
var/lib/localslackirc instead of using /var/tmp and have the purge script 
remove it.


-- 
Salvo Tomaselli

"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di
senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
                -- Galileo Galilei

https://ltworf.codeberg.page/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240505/c864673a/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list