Package: libpam-tmpdir Version: 0.11 Severity: normal libpam-tmpdir ships the file `/usr/lib/tmpfiles.d/libpam-tmpdir.conf` with the following contents:
---- # # Ensure /tmp/user exists with strict permissions. # # If you want more lenient permissions, feel free to change this to 0755. d /tmp/user 0711 root root - ---- The `d` at the beginning of the line indicates that this directory should be created, but it is not cleaned on boot. For that, the `D` directive is required instead. As a result, if one does not have `/tmp` as a tmpfs, `/tmp/user` is never cleaned and temporary files accumulate. I noticed this because I've disabled using `/tmp` as a tmpfs, since I use it frequently for temporary storage and only rarely reboot, so with a tmpfs I run out of space. As a consequence, `/tmp/user` had not been cleaned since late December and, after providing a corrected tmpfiles.d file and rebooting, my system took 4 minutes and 4 seconds just to clean up temporary files, even with a high-speed NVMe drive. Could you adjust this file in the next version to use the `D` directive so this is automatically cleaned on boot? That would preserve the traditional behaviour in Debian that temporary files are cleared on boot. -- System Information: Debian Release: 13.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.14-amd64 (SMP w/20 CPU threads; PREEMPT) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libpam-tmpdir depends on: ii libc6 2.41-8 ii libpam-runtime 1.7.0-3 ii libpam0g 1.7.0-3 libpam-tmpdir recommends no packages. libpam-tmpdir suggests no packages. -- no debconf information -- brian m. carlson (they/them) Toronto, Ontario, CA
signature.asc
Description: PGP signature