【标题描述】restful isulad 不支持service notify方式启动,且不响应15信号
【问题复现步骤】
1、配置/usr/lib/systemd/system/isulad.service,其中type=notify,执行systemctl start isulad
2、拉起isulad,通过kill -15 $(pidof isulad) 给daemon发送15信号
2、拉起isulad,通过kill -2 $(pidof isulad) 给daemon发送2信号
出现概率(必现)
【预期结果】
1、systemctl start isulad 可以正常拉起isulad,可以获取到启动结果并返回
2、isulad响应15信号并退出
2、isulad响应2信号并退出
【实际结果】
1、systemctl start isulad 执行后长时间卡住,收不到notify
2、restful isulad 不响应kill -15
2、restful isulad 不响应kill -2
【附件信息】
NA
Hi zheng-yiwen, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai , @lifeng_isula , @haozi007 , @jingxiaolu
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
libevent处理信号,需要第二次循环,因此需要发送两次15号信号,才能处理。
暂时规避,后续有需要再次打开
登录 后才可以发表评论