[systemd-devel] [PATCH] Re: Requires too weak, BindTo too strong

David Ward david.ward at ll.mit.edu
Sun Feb 19 12:35:53 PST 2012


On 01/02/12 19:07, Lennart Poettering wrote:
> On Wed, 01.02.12 18:54, Chris Paulson-Ellis (chris at edesix.com) wrote:
>
>> Is there some way to get the client to always restart when server
>> restarts, for whatever reason?
>
> No, there isn't. But what you describe is something I consider a bug,
> and to fix this has been on the TODO list for a while. i.e. a server
> dying and being restarted should still cause all services depending on
> it to restart.
>
> Hence: expect this to be fixed for you soon, so that BindTo works as
> expected.

Please see the following patch, which takes care of this bug for me.
Are there any issues with this change?

Thanks,

David


David Ward (1):
  service: schedule JOB_RESTART from SERVICE_AUTO_RESTART state

 src/service.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)



More information about the systemd-devel mailing list