[pkg-dhcp-devel] Bug#761850: /sbin/dhclient: dhclient exits with status code -1 when attempting to obtain a new lease

Wouter Van Hemel wouter-debian at publica.duodecim.org
Tue Sep 16 11:45:44 UTC 2014


Package: isc-dhcp-client
Version: 4.3.1-1
Severity: important
File: /sbin/dhclient

dhclient exists with status code -1 when trying to obtain a new lease. When the lease expires about 2 hours later, I have no network connectivity anymore until I restart networking and network-manager.

Sep 16 11:57:05 kkv54 dhclient: DHCPREQUEST on eth0 to 128.214.205.131 port 67
Sep 16 11:57:05 kkv54 NetworkManager[694]: <info> (eth0): DHCPv4 client pid 1107 exited with status -1
Sep 16 11:57:05 kkv54 NetworkManager[694]: <warn> DHCP client died abnormally
Sep 16 12:41:06 kkv54 systemd-udevd[5060]: Network interface NamePolicy= disabled on kernel commandline, ignoring.
Sep 16 13:18:48 kkv54 systemd-udevd[5060]: Network interface NamePolicy= disabled on kernel commandline, ignoring.
Sep 16 13:21:36 kkv54 systemd-udevd[5060]: Network interface NamePolicy= disabled on kernel commandline, ignoring.
Sep 16 14:09:03 kkv54 NetworkManager[694]: <info> caught signal 15, shutting down normally.
Sep 16 14:09:03 kkv54 NetworkManager[694]: <info> exiting (success)

I checked the code of dhclient.c but I don't see any "-1" exit codes at first sight. I have (Debian-provided) samba and ntp scripts in the enter/exit hooks. I'm not sure what would make dhclient exit, and I can't find any relevant logs beyond what I provided above.


Thanks for any insight,

  Wouter Van Hemel

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isc-dhcp-client depends on:
ii  debianutils      4.4
ii  iproute2         3.16.0-2
ii  isc-dhcp-common  4.3.1-1
ii  libc6            2.19-11

isc-dhcp-client recommends no packages.

Versions of packages isc-dhcp-client suggests:
pn  avahi-autoipd  <none>
pn  resolvconf     <none>

-- no debconf information



More information about the pkg-dhcp-devel mailing list