Bind9 service file for 20.04 and older is missing Restart parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Debian) |
Fix Released
|
Unknown
|
|||
bind9 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Committed
|
Low
|
Athos Ribeiro | ||
Focal |
Fix Released
|
Low
|
Athos Ribeiro |
Bug Description
[ Impact ]
The named service is not restarted upon errors.
[ Test Plan ]
- Start the named/bind9 service (systemctl start named [bind9 in bionic]);
- verify it is running (systemctl status named [bind9 in bionic]);
- forcefully kill the named process (pkill -9 named); and
- verify it was re-started (systemctl status named [bind9 in bionic]).
Affected systems will not re-start it.
[ Where problems could occur ]
Users on focal and bionic may be relying on the non-resilient behavior of the package in custom automation scripts, which may need to be changed after this change.
[ Other Info ]
The proposed behavior is the default for supported series more recent than focal.
[ Original report ]
Hi,
I found problem with my friend, when Bind9 on Ubuntu 20.04 exited
with SIGV signal and keeps down (systemd did not restart the service).
It's all about the content of /lib/systemd/
Release for Ubuntu Jammy 22.04 LTS (1:9.18.
"Restart=
Releases for
Ubuntu Focal 20.04 LTS (1:9.16.
Ubuntu Bionic 18.04 LTS (1:9.11.
and maybe older also are missing "Restart" parameter.
Can the "Restart" parameter be added to older releases?
Thanks
Related branches
- git-ubuntu bot: Approve
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 27 lines (+8/-0)2 files modifieddebian/bind9.service (+1/-0)
debian/changelog (+7/-0)
- git-ubuntu bot: Approve
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 27 lines (+8/-0)2 files modifieddebian/bind9.named.service (+1/-0)
debian/changelog (+7/-0)
Changed in bind9 (Ubuntu): | |
status: | New → Fix Released |
Changed in bind9 (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in bind9 (Ubuntu Focal): | |
status: | New → Triaged |
Changed in bind9 (Ubuntu Bionic): | |
importance: | Undecided → Low |
Changed in bind9 (Ubuntu Focal): | |
importance: | Undecided → Low |
tags: | added: server-triage-discuss |
tags: |
added: server-todo removed: server-triage-discuss |
Changed in bind9 (Ubuntu Bionic): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
Changed in bind9 (Ubuntu Focal): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
description: | updated |
Changed in bind9 (Ubuntu Bionic): | |
status: | Triaged → In Progress |
Changed in bind9 (Ubuntu Focal): | |
status: | Triaged → In Progress |
tags: | added: block-proposed-bionic block-proposed-focal |
tags: | removed: server-todo |
Changed in bind9 (Debian): | |
status: | Unknown → Fix Released |
I think this should be included in the first Focal MRE we will have for bind. The MRE does not cover bionic, so for that I think we should use block-proposed- bionic and piggy-back this update on whatever the next bigger update for bind9 in bionic is.
I added the tags. I wanted to accept focal, but there is a focal bind9 package in proposed already, pending SRU verification[1]. Since the block-proposed tags are in place, I will accept the bionic upload even though the focal one won't be there yet. As soon as the pending focal sru verification is done, we can either accept this focal upload into proposed, or perhaps by then the focal bind9 MRE update will be done, and will include this fix.
1. https:/ /launchpad. net/bugs/ 1997375