[systemd-devel] switch-root, init, SIGHUP

2025-01-17 Thread James Muir (jamesmui)
I have a program, init-jm, that forks and executes /usr/lib/systemd/systemd in the parent (using execl() ) while the child collects some stats in a loop. The child sets its argv[0][0] to ‘@’. init-jm is invoked using the “init” kernel parameter on a switch-root system (it’s Fedora 41). Can som

Re: [systemd-devel] Template unit : specifier validity

2025-01-17 Thread Thomas HUMMEL
On 1/17/25 11:20 AM, Tomasz Pala wrote: On Thu, Jan 16, 2025 at 19:29:28 +0100, Thomas HUMMEL wrote: I thought in my case it did not work because journald showed a dependency error but, with systemd on debug mode I could see it was an For the future: if you need to see expanded (%s) and coale

Re: [systemd-devel] Template unit : specifier validity

2025-01-17 Thread Tomasz Pala
On Thu, Jan 16, 2025 at 19:29:28 +0100, Thomas HUMMEL wrote: > I thought in my case it did not work because journald showed a > dependency error but, with systemd on debug mode I could see it was an For the future: if you need to see expanded (%s) and coalesced (dropins) "final" service config