Re: [systemd-devel] sd_bus_process() + sd_bus_wait() is it not suitable for application?

2022-01-24 Thread William Kennington
FWIW I’ve noticed the same thing with as-event https://github.com/systemd/systemd/issues/22046 I had to drain all events before waiting to fix this. On Mon, Jan 24, 2022 at 14:00 Stephen Hemminger wrote: > On Mon, 24 Jan 2022 10:33:58 +0800 (CST) > www wrote: > > > Hi, > > > > > > When the bu

Re: [systemd-devel] sd_bus_process() + sd_bus_wait() is it not suitable for application?

2022-01-24 Thread Stephen Hemminger
On Mon, 24 Jan 2022 10:33:58 +0800 (CST) www wrote: > Hi, > > > When the busctl command is used to call the method corresponding to this > function, the memory used by the process will increase after 65 ~ 70 times. > If continue to call, the memory usage will continue to increase. > Refer to

Re: [systemd-devel] Launching script that needs network before suspend

2022-01-24 Thread Andrei Borzenkov
On 24.01.2022 17:37, Tomáš Hnyk wrote: > > > On Monday 24. January 2022, 13:50:48 (+01:00), Andrei Borzenkov wrote: > I posted it in response to the list and you sent personal reply. Please use reply to all. >> On Mon, Jan 24, 2022 at 1:14 AM Tomáš Hnyk wrote: >>> >>> Hello, >>> I have my com

Re: [systemd-devel] Rootless podman/buildah pull with systemd-homed fails -- important CAP dropped?

2022-01-24 Thread Christian Brauner
On Fri, Jan 21, 2022 at 03:59:52PM +, gm...@pm.me wrote: > Dear all, > > Has anyone tried to run a rootless container, or simply pull an image, from a > systemd-homed session? > > For some reason I am told there are potentially insufficient UIDs or GIDs > available: > > $ buildah from quay

Re: [systemd-devel] Launching script that needs network before suspend

2022-01-24 Thread Andrei Borzenkov
On Mon, Jan 24, 2022 at 1:14 AM Tomáš Hnyk wrote: > > Hello, > I have my computer hooked up to an AVR that runs my home cinema and ideally I > would like the computer to turn off the AVR when I turn it off or suspend it. > The only way to do this is over network and I wrote a simple script that

Re: [systemd-devel] Have I got circular dependencies?

2022-01-24 Thread Kevin P. Fleming
Indeed! While it will take some time, I can highly recommend reading the entirety of the various man pages: systemd.unit, systemd.service, systemd.target, systemd.special. I've been able to take advantage of many 'not obvious' features by doing that. On Mon, Jan 24, 2022 at 7:21 AM Wols Lists wro

Re: [systemd-devel] Have I got circular dependencies?

2022-01-24 Thread Wols Lists
On 24/01/2022 11:08, Kevin P. Fleming wrote: According to 'man systemd.unit' it goes in the '[Unit]' section, like all other dependency statements. Thank you very much. The usual problem of "where's the docu I'm looking for?" :-) Cheers, Wol On Sun, Jan 23, 2022 at 3:15 PM Wols Lists wrot

Re: [systemd-devel] Have I got circular dependencies?

2022-01-24 Thread Kevin P. Fleming
According to 'man systemd.unit' it goes in the '[Unit]' section, like all other dependency statements. On Sun, Jan 23, 2022 at 3:15 PM Wols Lists wrote: > > On 23/01/2022 19:44, Andrei Borzenkov wrote: > > Where dependency to /home comes from? It is not in your unit file. > > If it thinks my unit