dhclient for eth0 does never exit and retries dhcp foerever
Bug #1503680 reported by
Simon Eisenmann
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Incomplete
|
Medium
|
Unassigned | ||
isc-dhcp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When booting snappy without eth0 connected, dhclient runs forever trying to retrieve DHCP every 5 minutes.
dhclient is run with the -1 parameter which is supposed to try only once and exit after trying.
-1 Try to get a lease once. On failure exit with code 2. In
Though dhclient keeps running / does not exit.
If dhclient is changed to exit after failure, it must be insured that it will be restarted when the network interface gets a physical link.
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → Medium |
affects: | snappy → snapd |
To post a comment you must log in.
dhclient.conf has "timeout 300" set by default in ubuntu so theoretically according to the manpge it should exit after 5min. this looks like a bug in dhclient itself