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

Martin Kelly mkelly at xevo.com
Thu Jun 1 00:17:56 UTC 2017


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.



More information about the Openembedded-core mailing list