[systemd-devel] A question about the race condition between two service

piliu piliu at redhat.com
Tue Nov 6 05:23:15 UTC 2018



On 11/05/2018 07:42 PM, Cristian Rodríguez wrote:
> 
> 
> El 01-11-2018 a las 5:34, piliu escribió:
> 
>> Any suggestion?
>>
> 
> Yeah. Don't..if poweroff fails reboot will too..please attack the root
> cause of this problem.. why the machine fails to poweroff, is it a
> service blocking poweroff ? is there a kernel bug ?
No, it is not kernel bug. Our kdump script always uses reboot as a
back-end method. And if in kdump.conf, choosing poweroff as default
action, then there is the race sequence poweroff -> reboot.
Maybe the script should not launch reboot-service if it already launched
a poweroff service
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list