Dan Kenigsberg has submitted this change and it was merged.

Change subject: Prevent systemd to kill dhclient once vdsm-network service is 
stopped
......................................................................


Prevent systemd to kill dhclient once vdsm-network service is stopped

When upgrading VDSM or for that matter, stopping vdsm-network process,
systemd would kill all the descendants of the service (including dhclient).
When vdsm-network starts again, it discovers /var/run/vdsm/nets_restored and
does not restore any network, possibly leaving the system with interfaces
that have an IP with a timer but no dhclient to renew it. Adding
KillMode=Process tells systemd to only kill the service main process and
nothing more.

Change-Id: Ie77d3448c2144b94194ccbe37995fcca008430dc
Bug-Url: https://bugzilla.redhat.com/1187244
Signed-off-by: Ido Barkan <[email protected]>
Reviewed-on: https://gerrit.ovirt.org/39137
Reviewed-by: Dan Kenigsberg <[email protected]>
---
M init/systemd/vdsm-network.service.in
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Ido Barkan: Verified
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/39137
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie77d3448c2144b94194ccbe37995fcca008430dc
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ido Barkan <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Ido Barkan <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to