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

2017-11-28 Thread Lennart Poettering
On Di, 28.11.17 14:44, prashantkumar dhotre (prashantkumardho...@gmail.com) wrote: > Hi > Sometimes i see that service restart fails with > systemd[1]: *my.service failed to schedule restart job: Transaction is > destructive.* The restart logic of services is very defensive: it won't reverse alr

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

2017-11-28 Thread prashantkumar dhotre
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"

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

2017-11-28 Thread Mantas Mikulėnas
On Tue, Nov 28, 2017 at 11:14 AM, prashantkumar dhotre < prashantkumardho...@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

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

2017-11-28 Thread prashantkumar dhotre
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 th