Re: [pve-devel] [PATCH cluster] pvecm updatecerts: time out after 30 seconds

2018-07-03 Thread Stoiko Ivanov
On Mon, Jul 02, 2018 at 04:34:10PM +0200, Thomas Lamprecht wrote: > We call this in pve-cluster.service as ExecStartPost. We prefix it > with '-' to tell systemd that it should ignore non-zero exit codes, > but if the command hangs (e.g., on IO) systemd kills it after a > timeout (90 seconds defaul

[pve-devel] [PATCH cluster] pvecm updatecerts: time out after 30 seconds

2018-07-02 Thread Thomas Lamprecht
We call this in pve-cluster.service as ExecStartPost. We prefix it with '-' to tell systemd that it should ignore non-zero exit codes, but if the command hangs (e.g., on IO) systemd kills it after a timeout (90 seconds default) which then doesn't get ignored and the unit will also be put in failure