DUA reports reboot failure, but reboot occurs #679
Labels
bug
Something isn't working
Draft PR
The issue has a draft PR candidate fix available
Needs Testing
The issue has a PR or draft PR that needs further testing
Expected Behavior
Reboot without error in the log.
Current Behavior
Despite the reboot working an error is logged.
Steps to Reproduce
Device Information
*DU Agent Version: 1.1
Logs
Additional Information
Our Linux is systemd-based. What happens in the end when /sbin/reboot is called, is that the reboot.target is activated.
This leads to SIGTERM (15) being sent to all user context processes.
Depending on if the reboot finishes before receiving SIGTERM itself or after it exits with code 0 or with code 15.
See also
https://systemd-devel.freedesktop.narkive.com/JafJo2Lj/systemctl-reboot-get-terminated-by-signal-15
The text was updated successfully, but these errors were encountered: