Re: [systemd-devel] What are Abandon() and AbandonScope() used for?

2024-01-30 Thread Felip Moll
> > > When should I use this? For example I am creating a scope which will > > allocate some pids into their cgroups. The scope is created from a daemon > > run from a service unit. The service will eventually be shut down and I > > want the scope to remain if it has pids in it. Should the service

Re: [systemd-devel] Handle device node timeout?

2024-01-30 Thread Michal Koutný
On Tue, Jan 16, 2024 at 04:06:46PM +0200, Mikko Rapeli wrote: > I have services which depend on a specific device node. How can I run > some recovery actions when the default 90s timeout for finding this > device is hit? (Not sure if it is the best practice to do a plain-text fall back in case

Re: [systemd-devel] What are Abandon() and AbandonScope() used for?

2024-01-30 Thread Michal Koutný
Hello. On Tue, Jan 23, 2024 at 04:40:35PM +0100, Felip Moll wrote: > Can somebody give me an insight of what these methods really do? > The documentation is pretty vague: > https://www.freedesktop.org/wiki/Software/systemd/dbus/ Those would most probably pair with

Re: [systemd-devel] umount fails on system with huge (2TiB) buff/cache

2024-01-30 Thread Michal Koutný
Hello. On Fri, Jan 26, 2024 at 12:13:34PM +, Holger Kiehl wrote: ... > Note it states 'no limit' and one can see after some minutes it says > it umounted /mnt/u2: ... > Confused here since it stated on serial console output > >[ OK ] Unmounted /mnt/u2. Any chance your mount unit has

Re: [systemd-devel] BridgeMDB specifying port and group

2024-01-30 Thread Jordi Auge
To answer my own question in case anyone finds this question in a a search or something: - BridgeMDB is implemented properly in networkd, and it works fine - In order to add the mdb entry to the socnet0 interface, you have to put the [BridgeMDB] entry on the socnet0 network file - The

Re: [systemd-devel] Build failure with sshconfdir=no

2024-01-30 Thread František Šumšal
On 1/30/24 05:03, daechir wrote: Hello, Thank you for the quick fix. I am confirming a successful build now with sshconfdir=no. However, I noticed this in the logs: systemd-tmpfiles[1078]: /usr/lib/tmpfiles.d/20-systemd-ssh-generator.conf:10: Path 'no/20-systemd-ssh-proxy.conf' not absolute.