Re: [systemd-devel] Masking mount units

2024-11-19 Thread Andrei Borzenkov
On Tue, Nov 19, 2024 at 10:55 PM Phillip Susi wrote: > > Furthermore, it seems that the undesirable auto mounting behavior only > happens with systemd-239 and lower. Newer versions of systemd seem to > have dropped this behavior by not setting the WantedBy=foo.device on the > mount point. I assu

Re: [systemd-devel] Masking mount units

2024-11-19 Thread Lennart Poettering
On Di, 19.11.24 01:45, Nils Kattenbeck (nilskem...@gmail.com) wrote: > On Tue, Nov 19, 2024 at 1:00 AM Lennart Poettering > wrote: > > > > On Do, 14.11.24 14:25, Phillip Susi (ph...@thesusis.net) wrote: > > > > > Lennart Poettering writes: > > > > > > > the BLKFLSBUF ioctl() works fine on block

Re: [systemd-devel] [EXT] [PATCH] libblkid: fix spurious ext superblock checksum mismatches

2024-11-19 Thread Krister Johansen
On Tue, Nov 19, 2024 at 09:49:57AM -0800, Theodore Ts'o wrote: > Yes, this can happen if the file system is mounted. The reason for > this is that the kernel updates metadata blocks via the block buffer > cache, with the jbd2 (journaled block layer v2) subsystem managing the > atomic updates. T

Re: [systemd-devel] Masking mount units

2024-11-19 Thread Phillip Susi
Lennart Poettering writes: > Huh? Even after? Like, *forever*??? What's the point of that? Is > gparted supposed to break your system for good and render your block > devices unusable? > > I thought it was a partitioner, but I might have gotten that wrong? Just because you move or resize a parti

Re: [systemd-devel] generators, private /tmp

2024-11-19 Thread Lennart Poettering
On Di, 19.11.24 20:58, James Muir (jamesmui) (james...@cisco.com) wrote: > Hi everyone, > > The system manager (as of v253) executes generators in a sandbox with a fresh > tmpfs mount on /tmp: > > > https://github.com/systemd/systemd/blob/a526b9ddfc03a290f20a65c0a73792e73029f1b8/src/core/manag

[systemd-devel] generators, private /tmp

2024-11-19 Thread James Muir (jamesmui)
Hi everyone, The system manager (as of v253) executes generators in a sandbox with a fresh tmpfs mount on /tmp: https://github.com/systemd/systemd/blob/a526b9ddfc03a290f20a65c0a73792e73029f1b8/src/core/manager.c#L4274 Looking at the code, it appears that there is no way to disable that using

Re: [systemd-devel] [EXT] [PATCH] libblkid: fix spurious ext superblock checksum mismatches

2024-11-19 Thread Windl, Ulrich
> -Original Message- > From: systemd-devel On > Behalf Of Krister Johansen > Sent: Monday, November 18, 2024 9:35 PM > To: util-li...@vger.kernel.org > Cc: Karel Zak ; systemd-devel@lists.freedesktop.org; > David Reaver ; Theodore Ts'o > Subject: [EXT] [systemd-devel] [PATCH] libblkid: fi

Re: [systemd-devel] [EXT] Re: [PATCH] libblkid: fix spurious ext superblock checksum mismatches

2024-11-19 Thread Windl, Ulrich
> -Original Message- > From: systemd-devel On > Behalf Of Krister Johansen > Sent: Tuesday, November 19, 2024 12:14 AM > To: Lennart Poettering > Cc: util-li...@vger.kernel.org; Karel Zak ; systemd- > de...@lists.freedesktop.org; David Reaver ; > Theodore Ts'o > Subject: [EXT] Re: [syste