Open Herrie82 opened 9 months ago
Seems to be caused by both sam and sensorfw:
https://paste.ubuntu.com/p/4gVRWnNFjw/
Adding TimeoutStopSec=5 to both service files will make it behave.
Before: Feb 09 07:53:00 pinetab2 sleepd[817]: [] [pmlog] sleepd FRC_REBOOT {"Reason":"reboot"} Pwrevents rebooting system Feb 09 07:54:31 pinetab2 systemd[1]: systemd-reboot.service: Deactivated successfully.
After: Feb 09 08:09:43 pinetab2 sleepd[766]: [] [pmlog] sleepd FRC_REBOOT {"Reason":"reboot"} Pwrevents rebooting system Feb 09 08:09:54 pinetab2 systemd[1]: systemd-reboot.service: Deactivated successfully.
SAM not shutting down caused by qml-runner somehow.
Describe the bug Shutdown takes extremely long, likely due to sensorfw not wanting to stop.
Try do debug sensorfw with strace and/or gdb.