[systemd-devel] is systemd killing dhclient?

Lennart Poettering lennart at poettering.net
Mon Mar 9 10:03:41 PDT 2015


On Mon, 09.03.15 09:14, Ido Barkan (ibarkan at redhat.com) wrote:

> Hi All,
> 
> I am a VDSM developer at Ovirt project.
> 
> VDSM is a daemon which is run as a systemd unit and manages a RHEV hypervisor.
> During it's start up, under ExecStartPre the unit runs an initialization script, that calls 
> a part of VDSM in order to configure networking on the host. During the network initialization
> 'ifup' is called for interfaces with DHCP defined as their boot protocol. dhclient then runs, 
> assigns an IP address to the interface and .... gets killed!

Yes, this is intended behaviour. ExecStartPre= is for running
preparatory code, not for forking off long-running
processes. 

I have now added a note about this the man page, since this wasn't
documented so far.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list