Hm, of course, if one starts dhclient in debug mode (foreground) by adding a 
"-d", everything does work. :/ Interestingly when I attach to it with strace, I 
see "strace: Process <pid> attached with 4 threads". The foreground process 
does not act on ctrl-c which at least is consistent with the broken behaviour.
When not working (in the background) strace will not find/report any threads 
running. The other thing to note (it was mentioned before) is that looking at 
/proc/<pid>/fd the process has a file handle for the lease file, but looking at 
the time stamps it does not get updated. Likely because that is something that 
one of the threads would do.
This also explains why dhclient under network-manager control works. 
Network-manager starts it in foreground/debug mode (with -d).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1551351

Title:
  dhclient does not renew leases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1551351/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to