Re: [systemd-devel] Service that runs with network credentials

2019-12-10 Thread Mantas Mikulėnas
On Fri, Dec 6, 2019 at 12:58 PM Kenneth Porter wrote: > --On Thursday, December 05, 2019 10:37 AM +0100 Lennart Poettering > wrote: > > > I am not sure what "network credentials" is supposed to mean > > Here's where this came up. > >

Re: [systemd-devel] Issue on Ordering of systemd services during boot

2019-12-10 Thread Jérémy ROSEN
You probably have another problem lurking behind... A.service is of Type=Simple. That means that systemd doesn't know when A.service is ready and will lauch B.socket as soon as A has been launched. B being a socket, it has no delay so will be ready instantly. You probably want to change Type to s

[systemd-devel] Antw: Re: Antw: Re: Binary changed since start

2019-12-10 Thread Ulrich Windl
>>> Michal Zegan schrieb am 10.12.2019 um 17:53 in Nachricht : [...] > Well. This specifically may be doable by checking if any file open by > process is marked deleted, but would not work if the file was just > rewritten... Did you ever try to overwrite a dynmically loaded file? I doubt it is p

Re: [systemd-devel] Antw: Re: Binary changed since start

2019-12-10 Thread Michael Biebl
There is a tool called needrestart which should do exactly what you want. See https://tracker.debian.org/pkg/needrestart https://github.com/liske/needrestart Am Di., 10. Dez. 2019 um 15:12 Uhr schrieb Ulrich Windl : > > >>> Lennart Poettering schrieb am 10.12.2019 um 12:32 > in > Nachricht <20191

Re: [systemd-devel] Antw: Re: Binary changed since start

2019-12-10 Thread Michał Zegan
W dniu 10.12.2019 o 15:12, Ulrich Windl pisze: Lennart Poettering schrieb am 10.12.2019 um 12:32 > in > Nachricht <20191210113234.GA16721@gardel-login>: >> On Di, 10.12.19 10:38, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) > wrote: >> >>> Hi! >>> >>> Two questions (In Linux it's possib

Re: [systemd-devel] Antw: Re: Binary changed since start

2019-12-10 Thread Jetchko Jekov
On Tue, Dec 10, 2019 at 4:27 PM Ulrich Windl wrote: > > >>> Lennart Poettering schrieb am 10.12.2019 um 12:32 > in > Nachricht <20191210113234.GA16721@gardel-login>: > > On Di, 10.12.19 10:38, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) > wrote: > > > >> Hi! > >> > >> Two questions (In Linux

[systemd-devel] Antw: Re: Binary changed since start

2019-12-10 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 10.12.2019 um 12:32 in Nachricht <20191210113234.GA16721@gardel-login>: > On Di, 10.12.19 10:38, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) wrote: > >> Hi! >> >> Two questions (In Linux it's possible to replace the image of the binary > that is executed on

Re: [systemd-devel] Binary changed since start

2019-12-10 Thread Lennart Poettering
On Di, 10.12.19 10:38, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > Two questions (In Linux it's possible to replace the image of the binary that > is executed on disk): > > 1) It seems my version of systemd (228) does not detect that a > binary has changed since the service

[systemd-devel] Binary changed since start

2019-12-10 Thread Ulrich Windl
Hi! Two questions (In Linux it's possible to replace the image of the binary that is executed on disk): 1) It seems my version of systemd (228) does not detect that a binary has changed since the service was started. In case it's still true in the current version, is it difficult to indicate t

Re: [systemd-devel] Issue on Ordering of systemd services during boot

2019-12-10 Thread Colin Guthrie
I presume B.socket is some kind of network socket rather than filesystem path? Either that or A.service provides the filesystem for the socket path? That being the case, you've got an ordering cycle here as B.socket has WantedBy=sockets.target which is order before multi-user.target which is neede