Re: [systemd-devel] Ordering a service before remote-fs-pre.target makes it quite longer

2020-05-15 Thread Andrei Borzenkov
15.05.2020 12:57, Thomas HUMMEL пишет: > > In other words : is it a bad practice to order a home made service > before remote-fs-pre.target ? > Why would it be? The very reason remote-fs-pre.target was added is to allow services to be reliably started before remote mounts. __

Re: [systemd-devel] systemd update "forgets" ordering for shutdown

2020-05-15 Thread Andrei Borzenkov
15.05.2020 11:08, Frank Steiner пишет: > Hi, > > I need to run a script on shutdown before any other service is stopped. > Due to an advice Lennart gave a while ago I'm using this service file > (with multi-user.target being our default runlevel target): > > [Unit] > After=multi-user.target > >

Re: [systemd-devel] Ordering a service before remote-fs-pre.target makes it quite longer

2020-05-15 Thread Thomas HUMMEL
On 14/05/2020 07:35, Andrei Borzenkov wrote: It does not match your graphs. Your service is apparently ordered after network-online.target (not after network.target) and startup is most certainly initiated before rsyslog.service. Not hat it explains anything but at least you need to provide acc

[systemd-devel] Antw: [EXT] Re: --Reboot-- lines in journal

2020-05-15 Thread Ulrich Windl
>>> Simon McVittie schrieb am 14.05.2020 um 19:16 in Nachricht <17311_1589476591_5EBD7CEF_17311_19_1_20200514171619.GA1563955@horizon>: > On Thu, 14 May 2020 at 16:12:49 +0300, Mantas Mikulėnas wrote: >> The "--Reboot--" line is simply shown every time the _BOOT_ID field changes >> between two ent

[systemd-devel] Antw: [EXT] Re: --Reboot-- lines in journal

2020-05-15 Thread Ulrich Windl
>>> Dave Howorth schrieb am 14.05.2020 um 17:11 in Nachricht <13203_1589469111_5ebd5fb7_13203_37_1_20200514161137.1d967...@acer-suse.lan>: > On Thu, 14 May 2020 16:12:49 +0300 > Mantas Mikulėnas wrote: >> On Thu, May 14, 2020 at 3:55 PM Dave Howorth >> wrote: >> >> > What do --Reboot-- lines i

[systemd-devel] systemd update "forgets" ordering for shutdown

2020-05-15 Thread Frank Steiner
Hi, I need to run a script on shutdown before any other service is stopped. Due to an advice Lennart gave a while ago I'm using this service file (with multi-user.target being our default runlevel target): [Unit] After=multi-user.target [Service] Type=oneshot ExecStart=/bin/true ExecStop=/usr/l