Public bug reported: On Ubuntu 20.04 The idc-dhcp- server version is isc-dhcp-server: Installed: (none) Candidate: 4.4.1-2.1ubuntu3 Version table: 4.4.1-2.1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
The DHCP server is being regularly killed, when searching google the bug looks very similar to an older bug regarding accessing a lease file, that was fixed year ago. As a temporary fix in systemd I have enabled a restart every time the main process fails. The error got worse when i start to run a pair of dhcp servers syncing state between each other I regularly see the following in the syslog Apr 4 00:04:55 gw sh[1500]: ../../../../lib/isc/unix/socket.c:3361: INSIST(!sock->pending_send) failed, back trace Apr 4 00:04:55 gw sh[1500]: #0 0x7f36befeda4a in ?? Apr 4 00:04:55 gw sh[1500]: #1 0x7f36befed980 in ?? Apr 4 00:04:55 gw sh[1500]: #2 0x7f36bf0297e1 in ?? Apr 4 00:04:55 gw sh[1500]: #3 0x7f36bedd0609 in ?? Apr 4 00:04:55 gw sh[1500]: #4 0x7f36bef0c153 in ?? Apr 4 00:04:55 gw systemd[1]: isc-dhcp-server.service: Main process exited, code=killed, status=6/ABRT Apr 4 00:04:55 gw systemd[1]: isc-dhcp-server.service: Failed with result 'signal'. Apr 4 00:05:00 gw systemd[1]: isc-dhcp-server.service: Scheduled restart job, restart counter is at 3. Apr 4 00:05:00 gw systemd[1]: Stopped ISC DHCP IPv4 server. Apr 4 00:05:00 gw systemd[1]: Started ISC DHCP IPv4 server. Apr 4 00:05:00 gw kernel: [ 3508.161248] audit: type=1400 audit(1585958700.678:46): apparmor="DENIED" operation="open" profile="/usr/sbin/dhcpd" name="/proc/2049/task/2068/comm" pid=2049 comm="dhcpd" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0 Apr 4 00:05:00 gw dhcpd[2049]: Internet Systems Consortium DHCP Server 4.4.1 Apr 4 00:05:00 gw sh[2049]: Internet Systems Consortium DHCP Server 4.4.1 Apr 4 00:05:00 gw sh[2049]: Copyright 2004-2018 Internet Systems Consortium. Apr 4 00:05:00 gw sh[2049]: All rights reserved. Apr 4 00:05:00 gw sh[2049]: For info, please visit https://www.isc.org/software/dhcp/ Apr 4 00:05:00 gw dhcpd[2049]: Copyright 2004-2018 Internet Systems Consortium. Apr 4 00:05:00 gw dhcpd[2049]: All rights reserved. Apr 4 00:05:00 gw dhcpd[2049]: For info, please visit https://www.isc.org/software/dhcp/ Apr 4 00:05:00 gw kernel: [ 3508.161561] audit: type=1400 audit(1585958700.678:47): apparmor="DENIED" operation="open" profile="/usr/sbin/dhcpd" name="/proc/2049/task/2069/comm" pid=2049 comm="dhcpd" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0 Apr 4 00:05:00 gw kernel: [ 3508.161563] audit: type=1400 audit(1585958700.682:48): apparmor="DENIED" operation="open" profile="/usr/sbin/dhcpd" name="/proc/2049/task/2070/comm" pid=2049 comm="dhcpd" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0 Apr 4 00:05:00 gw dhcpd[2049]: Config file: /etc/dhcp/dhcpd.conf Apr 4 00:05:00 gw sh[2049]: Config file: /etc/dhcp/dhcpd.conf Apr 4 00:05:00 gw sh[2049]: Database file: /var/lib/dhcp/dhcpd.leases Apr 4 00:05:00 gw sh[2049]: PID file: /run/dhcp-server/dhcpd.pid Apr 4 00:05:00 gw dhcpd[2049]: Database file: /var/lib/dhcp/dhcpd.leases Apr 4 00:05:00 gw dhcpd[2049]: PID file: /run/dhcp-server/dhcpd.pid Apr 4 00:05:00 gw dhcpd[2049]: Wrote 0 deleted host decls to leases file. ** Affects: isc-dhcp (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870729 Title: DHCP Server regularly killed code=killed, status=6/ABRT To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1870729/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs