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

2021-06-19 Thread Andrei Borzenkov
On 19.06.2021 11:00, Norbert Lange wrote: >> >> What you could try is creating a new unit in /etc/systemd/system/ >> --- systemd-reload.service --- >> [Unit] >> Description=Reload systemd >> Requires=usr-local.mount >> After=usr-local.mount >> >> [Service] >> Type=oneshot >> ExecStart=/usr/bin/syst

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 /usr/local mount is done in the initrd and that you > u

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

2021-06-18 Thread Andrei Borzenkov
On 18.06.2021 20:48, Norbert Lange wrote: > 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), clas

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

2021-06-18 Thread 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 /usr/local mount is done in the initrd and that you use > > »systemctl link /path/to/unit.service« to enable them. > That's not re

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

2021-06-18 Thread Uoti Urpala
On Fri, 2021-06-18 at 19:48 +0200, Norbert Lange wrote: > If systemd assumes the whole /usr drive to be static and has no way to > dynamically reload and "retarget" > (adding new wants/requires dependencies to starting/started targets) > then I guess that's the end of it. Systemd does not necessar

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 /etc/fstab. > > > > Now there ar

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

2021-06-18 Thread 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 /etc/fstab. > > Now there are a few systemd services within /usr/local/lib and systemd > does not seem

[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