Skip to content
Commit e6c0911c authored by Andreas Müller's avatar Andreas Müller Committed by Martin Jansa
Browse files

dhcp: do not start dhclient by default on boot



* most of the time start fails:
  | root@overo:~# systemctl status dhclient.service
  | dhclient.service - Dynamic Host Configuration Protocol (DHCP)
  |         Loaded: loaded (/lib/systemd/system/dhclient.service; enabled)
  |         Active: failed (Result: resources) since Thu 2000-01-06 22:07:27 UTC; 15min ago
  |         Process: 300 ExecStart=/sbin/dhclient -cf /etc/dhcp/dhclient.conf -q -lf /var/lib/dhcp/dhclient.leases $INTERFACES (code=exited, status=0/SUCCESS)
  |
  | Jan 06 22:07:27 overo systemd[1]: Starting Dynamic Host Configuration Proto.....
  | Jan 06 22:07:27 overo systemd[1]: PID file /var/run/dhclient.pid not readab...t.
  | Jan 06 22:07:27 overo systemd[1]: Failed to start Dynamic Host Configuratio...).
* in cases it does not fail to start and we have a managing service (e.g
  networkmanager) two instances of dhclient are running

Signed-off-by: default avatarAndreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent def06e9e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment