[systemd-devel] Order-only mount units?

2023-01-07 Thread Norbert Lange
Hello, Say want a service unit which mounts some stuff, then does further steps (create some initial files, etc..). The problem here is that it is not automatically ordered in regards to mounts in the subdirectories or some other dependencies like RequiresMountsFor - that would happen with a mount

Re: [systemd-devel] Exception safety od sd-bus

2021-07-22 Thread Norbert Lange
Am Do., 22. Juli 2021 um 14:04 Uhr schrieb Stanislav Angelovič : > > Hi guys! > > Assuming sd-bus is used in a C++ application, is sd-bus safe against > exceptions flying from e.g. a sd-bus vtable callback handler (provided by the > C++ application) and catching them in the caller of sd_bus_proce

Re: [systemd-devel] Reloading configuration after mount unit

2021-06-19 Thread Norbert Lange
Thanks for the explanations. Norbert ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Reloading configuration after mount unit

2021-06-19 Thread Norbert Lange
Am Fr., 18. Juni 2021 um 21:05 Uhr schrieb Silvio Knizek : > > Am Freitag, dem 18.06.2021 um 19:48 +0200 schrieb Norbert Lange: > > Am Fr., 18. Juni 2021 um 16:35 Uhr schrieb Silvio Knizek > : > > > > > > Hi Norbert, > > > > > > make sure your

Re: [systemd-devel] Reloading configuration after mount unit

2021-06-18 Thread Norbert Lange
Am Fr., 18. Juni 2021 um 16:35 Uhr schrieb Silvio Knizek : > > Am Freitag, dem 18.06.2021 um 15:04 +0200 schrieb Norbert Lange: > > Hello, > > > > I have an extra mount for /usr/local (Tools + Services which are just > > useful for development), classically done vie

[systemd-devel] Reloading configuration after mount unit

2021-06-18 Thread Norbert Lange
Hello, I have an extra mount for /usr/local (Tools + Services which are just useful for development), classically done vie /etc/fstab. Now there are a few systemd services within /usr/local/lib and systemd does not seem to load/reload those and start the ones that add a sysinit.wants. currently

Re: [systemd-devel] early mounts in systemd

2021-05-03 Thread Norbert Lange
I believe you can have a hard time if you dont do (the last step atleast) with a var.mount file. The mount files are special as systemd will pull those up implicitly if they are needed. Maybe you could rework your solution, so that one service mounts your first or second choice in a separate direc

Re: [systemd-devel] How to reboot from within a service

2021-04-19 Thread Norbert Lange
Am Mo., 19. Apr. 2021 um 16:02 Uhr schrieb Lennart Poettering : > > On So, 18.04.21 12:01, Norbert Lange (nolang...@gmail.com) wrote: > > > Hello, > > > > My setup is some embedded system without logind, running a service > > that should be able to powe

[systemd-devel] How to reboot from within a service

2021-04-18 Thread Norbert Lange
Hello, My setup is some embedded system without logind, running a service that should be able to poweroff, reboot or reboot-and-update. Generally I guess this also includes triggering further services programmatically fron another. 1) As I do currently: send SIGRTMIN+5 to PID1 (not really the