Bind9 fails to send notify message to systemd and keeps being restarted

Bug #2003933 reported by Stephen Worthington
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bind9 (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Confirmed
Undecided
Unassigned
Kinetic
Won't Fix
Undecided
Unassigned

Bug Description

I am running bind9 on Ubuntu 22.04 and it has just been updated from the PPA to version i1:9.18.11-1+ubuntu22.04.1+isc+2. Now every time it starts up, it seems to be running correctly, but systemd times out and restarts it. It appears that it is now failing to send notify messages to systemd. To fix this, I have added a systemd override:

[Service]
Type=simple

and that makes it stay running. However, it also means that the systemd watchdog is no longer checking that it is still running.

lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04

apt-cache policy bind9
bind9:
  Installed: 1:9.18.11-1+ubuntu22.04.1+isc+2
  Candidate: 1:9.18.11-1+ubuntu22.04.1+isc+2
  Version table:
 *** 1:9.18.11-1+ubuntu22.04.1+isc+2 500
        500 http://ppa.launchpad.net/isc/bind/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     1:9.18.1-1ubuntu1.3 500
        500 http://nz.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     1:9.18.1-1ubuntu1 500
        500 http://nz.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

Revision history for this message
Lena Voytek (lvoytek) wrote :

Thank you for the bug report. Unfortunately we do not have access to the isc's PPA to fix this bug, but this is a known issue. It has been fixed in the upcoming Lunar release using a patch to allow the service to use sd_notify to inform systemd that the process has started. We are also working on an update for the default Ubuntu version in 22.04 (LP: #2003586) which will have this fix in place. In the meantime you can contact the isc team directly for help with fixing the PPA:

https://launchpad.net/~isc

Changed in bind9 (Ubuntu):
status: New → Fix Released
Changed in bind9 (Ubuntu Jammy):
status: New → Confirmed
Changed in bind9 (Ubuntu Kinetic):
status: New → Confirmed
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Ubuntu 22.10 (Kinetic Kudu) has reached end of life, so this bug will not be fixed for that specific release.

Changed in bind9 (Ubuntu Kinetic):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.