Re: [systemd-devel] [EXTERNAL] Re: ExecStop doesn't get called when service crashes

2020-06-10 Thread Reindl Harald
Am 10.06.20 um 05:27 schrieb Baskaran, Vinothkumar: > Hi Reindal, > > Thanks for the inputs. > > In my case, the service is successfully started. The pre-script's return > status is also success. Please find the output below. Still, ExecStop doesn't > get invoked. I tried replacing it with

Re: [systemd-devel] Antw: [EXT] Re: [EXTERNAL] Re: ExecStop doesn't get called when service crashes

2020-06-10 Thread Reindl Harald
Am 10.06.20 um 11:46 schrieb Ulrich Windl: Reindl Harald schrieb am 10.06.2020 um 08:57 in > Nachricht > <24655_1591772239_5EE0844E_24655_111_1_4d778c1b-9150-c64e-574b-e5beb1b68d6a@thel > unge.net>: > >> >> Am 10.06.20 um 05:27 schrieb Baskaran, Vinothkumar: >>> Hi Reindal, >>> >>>

[systemd-devel] Antw: Re: Antw: [EXT] Re: [EXTERNAL] Re: ExecStop doesn't get called when service crashes

2020-06-10 Thread Ulrich Windl
>>> Reindl Harald schrieb am 10.06.2020 um 12:27 in Nachricht <2556aec7-0a35-ef09-ff05-e33cba1f1...@thelounge.net>: > > Am 10.06.20 um 11:46 schrieb Ulrich Windl: > Reindl Harald schrieb am 10.06.2020 um 08:57 in >> Nachricht >>

[systemd-devel] Antw: [EXT] Re: [EXTERNAL] Re: ExecStop doesn't get called when service crashes

2020-06-10 Thread Ulrich Windl
>>> Reindl Harald schrieb am 10.06.2020 um 08:57 in Nachricht <24655_1591772239_5EE0844E_24655_111_1_4d778c1b-9150-c64e-574b-e5beb1b68d6a@thel unge.net>: > > Am 10.06.20 um 05:27 schrieb Baskaran, Vinothkumar: >> Hi Reindal, >> >> Thanks for the inputs. >> >> In my case, the service is

Re: [systemd-devel] [EXTERNAL] Re: ExecStop doesn't get called when service crashes

2020-06-10 Thread Baskaran, Vinothkumar
Hi Reindl, Thank for the clarification. The documentation mentions the below quote which lead to the confusion. Also, it doesn't explain why systemd-216 invokes ExecStop but not systemd-244 when the process is killed. "Also note that the stop operation is always performed if the service

Re: [systemd-devel] [EXTERNAL] Re: ExecStop doesn't get called when service crashes

2020-06-10 Thread Baskaran, Vinothkumar
Hi Reindal, Apologies if I the subject is misleading. I meant that when the main process in the service gets crashed, ExecStop doesn't get invoked. In the below example, I am killing the main process 'CcspCrSsp' and expect the path '/tmp/CcspCrSsp_Restarted' to be created. However, it is not

Re: [systemd-devel] [EXTERNAL] Re: ExecStop doesn't get called when service crashes

2020-06-10 Thread Reindl Harald
Am 10.06.20 um 09:59 schrieb Baskaran, Vinothkumar: > Apologies if I the subject is misleading. > > I meant that when the main process in the service gets crashed, ExecStop > doesn't get invoked. jesus that's exactly what the docs say * ExecStop: clean stop of the service * ExecStopPost: any

[systemd-devel] sd-bus change that broke sdbus-c++

2020-06-10 Thread Stanislav Angelovič
Hi folks, sdbus-c++, a C++ library on top of sd-bus, is based on plain sd-bus messages to implement the concept of Variant type. Under plain message here I mean one created via `sd_bus_message_new` with the type being _SD_BUS_MESSAGE_TYPE_INVALID. We use such a message as a generic container of