[systemd-devel] failed to schedule restart job: Transaction is destructive.

prashantkumar dhotre prashantkumardhotre at gmail.com
Tue Nov 28 11:52:31 UTC 2017


Exec StopPost script writes to log file and writes to zookeeper.
I have checked that , that script takes Max 2 sec to finish.
To recreate issue, I have tried doing mre work in the script so that script
take more than 1 min but I could not recreate issue

On Nov 28, 2017 4:34 PM, "Mantas Mikulėnas" <grawity at gmail.com> wrote:

> On Tue, Nov 28, 2017 at 11:14 AM, prashantkumar dhotre <
> prashantkumardhotre at gmail.com> wrote:
>
>> Hi
>> Sometimes i see that service restart fails with
>> systemd[1]: *my.service failed to schedule restart job: Transaction is
>> destructive.*
>>
>> above error is very rare.
>> I have defined ExecStopPost script in my service file.
>> this problem does not always happen and  there is no defined steps to
>> recreate this.
>> Any idea what may cause above error ? is it ExecStopPost  script.
>>
>
> What does your ExecStopPost script do?
>
> --
> Mantas Mikulėnas <grawity at gmail.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171128/87020168/attachment.html>


More information about the systemd-devel mailing list