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

2024-05-06 Thread rhys
You're now at the stage where you're not just MISSING the point of what people are trying to tell you, you're actively IGNORING it.  Automatically deleting files is a bad idea. Those files aren't yours. You don't know why they are there. Leave them alone.  --J Sent from my mobile device.

Re: 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]

2024-05-06 Thread Russ Allbery
Luca Boccassi writes: > Richard Lewis wrote: >> - tmux stores sockets in /tmp/tmux-$UID >> - I think screen might use /tmp/screens >> I suppose if you detached for a long time you might find yourself >> unable to reattach. >> I think you can change the location of these. > And those are usefu

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

2024-05-06 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Luca Boccassi (2024-05-07 00:09:51) > To be more specific, as per documentation: > > https://www.freedesktop.org/software/systemd/man/latest/tmpfiles.d.html > > 'x' lines can be used to override cleanup rules, and support globbing, > so something like: > > x /tmp/mmdebstrap.* thank

Re: 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]

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 23:03, Richard Lewis wrote: > > Luca Boccassi writes: > > > Hence, I am not really looking for philosophical discussions or lists > > of personal preferences or hypotheticals, but for facts: what would > > break where, and how to fix it? > > - tmux stores sockets in /tmp/tmu

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 23:00, Johannes Schauer Marin Rodrigues wrote: > > Quoting Luca Boccassi (2024-05-06 23:28:59) > > On Mon, 6 May 2024 at 22:27, Simon McVittie wrote: > > > > > > On Mon, 06 May 2024 at 22:08:56 +0200, Johannes Schauer Marin Rodrigues > > > wrote: > > > > If [files can be de

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

2024-05-06 Thread Johannes Schauer Marin Rodrigues
Quoting Luca Boccassi (2024-05-06 23:28:59) > On Mon, 6 May 2024 at 22:27, Simon McVittie wrote: > > > > On Mon, 06 May 2024 at 22:08:56 +0200, Johannes Schauer Marin Rodrigues > > wrote: > > > If [files can be deleted automatically while mmdebstrap is using them], > > > how should applications g

Re: 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]

2024-05-06 Thread Richard Lewis
Luca Boccassi writes: > Hence, I am not really looking for philosophical discussions or lists > of personal preferences or hypotheticals, but for facts: what would > break where, and how to fix it? - tmux stores sockets in /tmp/tmux-$UID - I think screen might use /tmp/screens I suppose if you

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 22:27, Simon McVittie wrote: > > On Mon, 06 May 2024 at 22:08:56 +0200, Johannes Schauer Marin Rodrigues wrote: > > If [files can be deleted automatically while mmdebstrap is using them], > > how should applications guard against that from > > happening? > > As documented in

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 21:08, Johannes Schauer Marin Rodrigues wrote: > > Hi, > > Quoting Luca Boccassi (2024-05-06 15:20:08) > > While personal anecdotes and stories can be interesting and amusing in many > > circumstances, I am not really looking for those at this very moment. What I > > am looki

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

2024-05-06 Thread Simon McVittie
On Mon, 06 May 2024 at 22:08:56 +0200, Johannes Schauer Marin Rodrigues wrote: > If [files can be deleted automatically while mmdebstrap is using them], > how should applications guard against that from > happening? As documented in tmpfiles.d(5), if mmdebstrap takes out an exclusive flock(2) lock

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 21:30, Salvo Tomaselli wrote: > > On a fresh installed fedora system I downloaded a .iso in /tmp, then the > OOMkiller killed wayland, so everything died. > > If you know you won't ever fill it up, I guess it's fine. But I'd go for the > safer (and sadly slower) option. You

Solving a file conflict between package "nq" / "fq"

2024-05-06 Thread Preuße , Hilmar
Hi all, during the preparation of a new version of package "nq" (via NMU) it was found that there exists a file conflict with package "fq" (#1005961), which was incorrectly solved in the past. For now I unarchived and reopened the old issue. According to the policy: "Two different packages m

Re: 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]

2024-05-06 Thread Richard Lewis
Luca Boccassi writes: > On Mon, 6 May 2024 at 15:42, Richard Lewis > wrote: >> >> Luca Boccassi writes: >> >> > Hence, I am not really looking for philosophical discussions or lists >> > of personal preferences or hypotheticals, but for facts: what would >> > break where, and how to fix it? >>

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

2024-05-06 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Luca Boccassi (2024-05-06 15:20:08) > While personal anecdotes and stories can be interesting and amusing in many > circumstances, I am not really looking for those at this very moment. What I > am looking for right now is packages or internal infrastructure that need an > update to co

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

2024-05-06 Thread Andrey Rakhmatullin
On Mon, May 06, 2024 at 04:50:50PM +0100, Barak A. Pearlmutter wrote: > > tmpfiles.d snippets can be defined to cleanup on a timer _anything_, > > It's a question of what the *default* behaviour should be. > > For whatever reason, a lot of people who process large data use > /var/tmp/FOO/ as a pl

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 16:51, Barak A. Pearlmutter wrote: > > > tmpfiles.d snippets can be defined to cleanup on a timer _anything_, > > It's a question of what the *default* behaviour should be. No, it is not, at least not for the strawman you conjured. So I gather that git doesn't warn when clon

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

2024-05-06 Thread Barak A. Pearlmutter
> tmpfiles.d snippets can be defined to cleanup on a timer _anything_, It's a question of what the *default* behaviour should be. For whatever reason, a lot of people who process large data use /var/tmp/FOO/ as a place to store information that should not be backed up, but also should not just di

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 16:42, Simon Richter wrote: > > Hi, > > On 5/6/24 19:57, Michael Biebl wrote: > > > Afaik, /var/tmp has never been cleaned up on /boot. > > So I'm not sure what you mean with "no longer"? > > Oof, you're right, it was /tmp, /var/run, /var/lock: > > [ "$VERBOSE" != no

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 16:30, Simon Richter wrote: > > Hi, > > On 5/6/24 20:19, Luca Boccassi wrote: > > > Is that the default layout, or a selectable option? > > When you create a partition manually, it asks for the mount point, and > makes a number of suggestions in a dropdown, and /tmp is one of

Re: 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]

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 15:42, Richard Lewis wrote: > > Luca Boccassi writes: > > > Hence, I am not really looking for philosophical discussions or lists > > of personal preferences or hypotheticals, but for facts: what would > > break where, and how to fix it? > > cleaning /tmp or /var/tmp: users

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

2024-05-06 Thread Simon Richter
Hi, On 5/6/24 19:57, Michael Biebl wrote: Afaik, /var/tmp has never been cleaned up on /boot. So I'm not sure what you mean with "no longer"? Oof, you're right, it was /tmp, /var/run, /var/lock: [ "$VERBOSE" != no ] && echo -n "Cleaning" [ -d /tmp ] && cleantmp [ -d /

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

2024-05-06 Thread Simon Richter
Hi, On 5/6/24 20:19, Luca Boccassi wrote: Is that the default layout, or a selectable option? When you create a partition manually, it asks for the mount point, and makes a number of suggestions in a dropdown, and /tmp is one of these. There is also a "enter manually" option. If the latt

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 16:03, Barak A. Pearlmutter wrote: > > If it clones into /tmp the *entire* tree will either be reaped (upon > reboot) or not. > > But having just some files deleted from a git dir or git working dir > is much more dangerous, because various git commands can treat files > dele

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

2024-05-06 Thread Andrey Rakhmatullin
On Mon, May 06, 2024 at 07:42:11AM -0700, Russ Allbery wrote: > >> I'm not sure if we have software on long running servers which place > >> files in /tmp and /var/tmp and expect files to not be deleted during > >> runtime, even if not accessed for a long time. This is certainly an > >> issue to be

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

2024-05-06 Thread Barak A. Pearlmutter
If it clones into /tmp the *entire* tree will either be reaped (upon reboot) or not. But having just some files deleted from a git dir or git working dir is much more dangerous, because various git commands can treat files deleted from the working tree as deliberate changes to be committed, and fi

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

2024-05-06 Thread Russ Allbery
Andrey Rakhmatullin writes: > On Mon, May 06, 2024 at 10:40:00AM +0200, Michael Biebl wrote: >> I'm not sure if we have software on long running servers which place >> files in /tmp and /var/tmp and expect files to not be deleted during >> runtime, even if not accessed for a long time. This is ce

Bug#1070643: ITP: libhdrhistogram -- High Dynamic Range (HDR) Histogram library

2024-05-06 Thread Micke Nordin
Package: wnpp Severity: wishlist Owner: Micke Nordin X-Debbugs-Cc: debian-devel@lists.debian.org, k...@sunet.se * Package name: libhdrhistogram Version : 0.11.8 * URL : https://github.com/HdrHistogram/HdrHistogram_c * License : CC0-1.0 or BSD-2-clause Programmi

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 15:31, Barak A. Pearlmutter wrote: > > > What I am looking for right now is packages or internal > > infrastructure that need > > an update to cope with these two changes before I upload them, so if > > you know of any please do let me know and I'll happily look into it > > a

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

2024-05-06 Thread Barak A. Pearlmutter
> What I am looking for right now is packages or internal > infrastructure that need > an update to cope with these two changes before I upload them, so if > you know of any please do let me know and I'll happily look into it > and at least file a bug, if not a MR. Thanks. Okay. git and other ver

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

2024-05-06 Thread Simon McVittie
On Mon, 06 May 2024 at 13:41:58 +0100, Barak A. Pearlmutter wrote: > As someone who regularly deals with large datasets, and keeps them in > the "approved" don't-back-these-up location /var/tmp Independent of whether we make the change Luca is suggesting or not, I don't think /var/tmp is a good re

Re: 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]

2024-05-06 Thread Richard Lewis
Luca Boccassi writes: > Hence, I am not really looking for philosophical discussions or lists > of personal preferences or hypotheticals, but for facts: what would > break where, and how to fix it? cleaning /tmp or /var/tmp: users may lose files if they dont realise a directory tmp can be clea

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 13:42, Barak A. Pearlmutter wrote: > > > Then upon reading the release notes, on such a machine, one can simply do: > > > > touch /etc/tmpfiles.d/tmp.conf > > > > And they get no automated cleanups. > > This also disables on-boot cleaning of /tmp/. Yes, as it's going to be a

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

2024-05-06 Thread Barak A. Pearlmutter
> Then upon reading the release notes, on such a machine, one can simply do: > > touch /etc/tmpfiles.d/tmp.conf > > And they get no automated cleanups. This also disables on-boot cleaning of /tmp/. The root issue here is that deleting not-read-in-a-while but-maybe-stat'ed-recently-by-make-that-do

Bug#1070494: ITP: linux-livepatching -- linux livepatching module for Debian

2024-05-06 Thread Santiago Ruano Rincón
Package: wnpp Severity: wishlist Owner: Emmanuel Arias , Santiago Ruano Rincón X-Debbugs-Cc: debian-devel@lists.debian.org, t...@security.debian.org, debian-ker...@lists.debian.org, debian-...@lists.debian.org, eam...@debian.org * Package name: linux-livepatching Version : 0.0.

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

2024-05-06 Thread Marvin Renich
* Michael Biebl [240506 07:15]: > Am 06.05.24 um 12:35 schrieb Simon Richter: > > Hi, > > > > On 5/6/24 17:40, Michael Biebl wrote: > > > > > If we go with a/, then I think d-i should be updated to no longer > > > create /tmp as a separate partition. > > > > I think if the admin explicitly conf

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 12:15, Michael Biebl wrote: > > Am 06.05.24 um 12:35 schrieb Simon Richter: > > Hi, > > > > On 5/6/24 17:40, Michael Biebl wrote: > > > >> If we go with a/, then I think d-i should be updated to no longer > >> create /tmp as a separate partition. > > > > I think if the admin

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

2024-05-06 Thread Marvin Renich
* Simon Richter [240506 06:51]: > Hi, > > On 5/6/24 17:40, Michael Biebl wrote: > > > If we go with a/, then I think d-i should be updated to no longer create > > /tmp as a separate partition. > > I think if the admin explicitly configures tmpfs as a separate file system, > then that should be

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 11:33, Barak A. Pearlmutter wrote: > > > We have two separate issues here: > > > a/ /tmp-on-tmpfs > > b/ time based clean-up of /tmp and /var/tmp > > > I think it makes sense to discuss/handle those separately. > > Agreed. > > I also don't see any issue with a/, at worst peop

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 11:48, Michael Biebl wrote: > > Am 06.05.24 um 12:18 schrieb Luca Boccassi: > > Defaults are defaults, they are trivially and fully overridable where > > needed if needed. Especially container and VM managers these days can > > super trivially override them via SMBIOS Type11

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

2024-05-06 Thread Andrey Rakhmatullin
On Mon, May 06, 2024 at 10:40:00AM +0200, Michael Biebl wrote: > I'm not sure if we have software on long running servers which place files > in /tmp and /var/tmp and expect files to not be deleted during runtime, even > if not accessed for a long time. This is certainly an issue to be aware of > a

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

2024-05-06 Thread Michael Biebl
Am 06.05.24 um 12:35 schrieb Simon Richter: Hi, On 5/6/24 17:40, Michael Biebl wrote: If we go with a/, then I think d-i should be updated to no longer create /tmp as a separate partition. I think if the admin explicitly configures tmpfs as a separate file system, then that should be honore

Re: Epoch bump for bcachefs-tools

2024-05-06 Thread Emilio Pozuelo Monfort
On 26/04/2024 15:57, Jonathan Carter wrote: Hi Debian Developers In January, bcachefs[1] finally made it into the mainline Linux kernel as an experimental filesystem in to Linux 6.7 In 2022 something odd happened and the versions releases were 23 and 24 (previously we had alpha versions in D

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

2024-05-06 Thread Michael Biebl
Am 06.05.24 um 12:18 schrieb Luca Boccassi: Defaults are defaults, they are trivially and fully overridable where needed if needed. Especially container and VM managers these days can super trivially override them via SMBIOS Type11 strings or Credentials, ephemerally and without changing the gues

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

2024-05-06 Thread Samuel Thibault
Barak A. Pearlmutter, le lun. 06 mai 2024 11:15:35 +0100, a ecrit: > To me, the purpose of /var/tmp/ when I have my "user" hat on is: a > place to put files I don't want backed up, particularly large ones, > and which if I run out of disk space is a place to look for stuff to > delete. it's not "a

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

2024-05-06 Thread Michael Biebl
Am 06.05.24 um 12:15 schrieb Barak A. Pearlmutter: We have two separate issues here: a/ /tmp-on-tmpfs b/ time based clean-up of /tmp and /var/tmp I think it makes sense to discuss/handle those separately. Agreed. I also don't see any issue with a/, at worst people will be annoyed with it

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

2024-05-06 Thread Simon Richter
Hi, On 5/6/24 17:40, Michael Biebl wrote: If we go with a/, then I think d-i should be updated to no longer create /tmp as a separate partition. I think if the admin explicitly configures tmpfs as a separate file system, then that should be honored -- if there is memory pressure, tmpfs+swap

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 09:40, Michael Biebl wrote: > > We have two separate issues here: > > a/ /tmp-on-tmpfs > b/ time based clean-up of /tmp and /var/tmp > > I think it makes sense to discuss/handle those separately. > > Regarding a/: > tmp.mount as shipped by systemd uses the following mount opt

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

2024-05-06 Thread Barak A. Pearlmutter
> We have two separate issues here: > a/ /tmp-on-tmpfs > b/ time based clean-up of /tmp and /var/tmp > I think it makes sense to discuss/handle those separately. Agreed. I also don't see any issue with a/, at worst people will be annoyed with it for some reason and can then change it back. > R

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

2024-05-06 Thread Luca Boccassi
On Mon, 6 May 2024 at 06:36, Paul Gevers wrote: > > Hi Luca, > > On 05-05-2024 10:04 p.m., Luca Boccassi wrote: > > > Hence, I intend to apply these changes in the next src:systemd upload > > to unstable, probably next week. > > > In case anybody is aware of packages/programs needing an update t

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

2024-05-06 Thread Michael Biebl
Am 05.05.24 um 22:04 schrieb Luca Boccassi: This will be mentioned in NEWS (and I guess in the release notes when the time comes), together with the instructions to override for anybody wanting to keep the old behaviour, which is as trivial as: .. touch /etc/tmpfiles.d/tmp.conf This doesn'

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

2024-05-06 Thread Holger Levsen
clone 966621 -1 reassign -1 release-notes thanks On Mon, May 06, 2024 at 10:40:00AM +0200, Michael Biebl wrote: > We have two separate issues here: > > a/ /tmp-on-tmpfs > b/ time based clean-up of /tmp and /var/tmp > > I think it makes sense to discuss/handle those separately. very much agreed.

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

2024-05-06 Thread Michael Biebl
We have two separate issues here: a/ /tmp-on-tmpfs b/ time based clean-up of /tmp and /var/tmp I think it makes sense to discuss/handle those separately. Regarding a/: tmp.mount as shipped by systemd uses the following mount options: "mode=1777,strictatime,nosuid,nodev,size=50%" In the past th