[systemd-devel] systemd 244 version Execstop issue

gowtham b gowtham.gowtham.b at gmail.com
Thu Dec 17 06:57:15 UTC 2020


Hi,

hope you are doing good
Facing issue in systemd 244 version Execstop is not executing while process
crashing. Did additional testing if we restart the process via systemd
"systemctl restart tr069pa" command Execstop is running properly seeing the
restart log in the redirected file. The same service file was used in
systemd 216 version not facing any issue in process crashing time Execstop
was executed properly. could please let me know if we have any known issues.

logs:
===========================================================================================
[Unit]
Description=Tr069Pa service

After=QandA.service
ConditionPathExists=!/tmp/disableTr069

[Service]
Type=forking
EnvironmentFile=/etc/device.properties
ExecStart=/usr/bin/Tr069Pa
ExecStop=/bin/sh -c 'echo "`date`: Stopping/Restarting Tr069Pa" >>
${PROCESS_RESTART_LOG}'
Restart=always

StandardOutput=syslog+console
====================================================================================
2020 Dec 16 10:18:27  systemd[1]: Tr069Pa.service: Main process exited,
code=killed, status=11/SEGV
2020 Dec 16 10:18:27  systemd[1]: Tr069Pa.service: Failed with result
'signal'.
2020 Dec 16 10:18:37 systemd[1]: Tr069Pa.service: Scheduled restart job,
restart counter is at 1.
2020 Dec 16 10:18:37 systemd[1]: Stopped Tr069Pa service.
2020 Dec 16 10:18:37 systemd[1]: Starting Tr069Pa service...
2020 Dec 16 10:18:37 systemd[1]: Started Tr069Pa service.
=====================================================================================

Please let me know if any additional logs required.

Thanks,
Gowtham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20201217/2e2dd320/attachment.htm>


More information about the systemd-devel mailing list