[systemd-devel] dhcpd (via systemd) @boottime which does not wait for the interface..

lejeczek peljasz at yahoo.co.uk
Wed May 4 12:09:08 UTC 2016


hi devels

I have my dhcpd to serve nothing but virbr0 (libvirt), OS is Centos 7.2
Dhcpd would not start, complaining like this:

No subnet declaration for virbr0 (no IPv4 addresses).
** Ignoring requests on virbr0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface virbr0 is attached. **

and systemctl -l shows:
...
systemd[1]: start request repeated too quickly for dhcpd.service
...

but suffices to restart dhcpd and all works!
I've ##SELECTION_END##customized systemd's service conf, I've put:

After=libvirtd.service
Requisite=libvirtd.service

but this did not help.
Would you share your thoughts?
many thanks.
L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160504/b234ff0c/attachment.html>


More information about the systemd-devel mailing list