[OE-core] [PATCH] tcf-agent: Fix daemon termination

Martin Kelly mkelly at xevo.com
Tue Jun 6 17:28:00 UTC 2017


On 06/06/2017 03:11 AM, Jan Kiszka wrote:
> On 2017-06-01 02:17, Martin Kelly wrote:
>> On 05/02/2017 01:41 AM, Martin Kelly wrote:
>>> On 04/30/2017 08:28 AM, Jan Kiszka wrote:
>>>> From: Jan Kiszka <jan.kiszka at siemens.com>
>>>>
>>>> The upstream init script uses SIGUSR2 to terminate that daemon because
>>>> SIGTERM is ignored. As the killproc function does not support specifying
>>>> a signal, switch to start-stop-daemon. Drop the retry loop because
>>>> SIGUSR2 is lethal for agent.
>>>>
>>>> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
>>>
>>> Thanks! I noticed this bug and was planning to look into it, but it
>>> looks like you found the issue first! This was bringing shutdowns to a
>>> crawl for me.
>>
>> I just noticed, I think we need to fix the same bug in the systemd
>> service script too.
>
> Does this block this patch, or should this be done in a separate one? I
> noticed that it's still not merged.
>

I sent a separate patch for fixing the systemd issue, so I think we can 
merge the two patches separately (they're both needed):

https://patchwork.openembedded.org/patch/140355/

Neither of our patches have been merged yet.



More information about the Openembedded-core mailing list