public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kea] rawhide: Restart kea-dhcp4, kea-dhcp6 and kea-dhcp-ddns on failure
@ 2026-11-01  8:10 Martin Osvald
  0 siblings, 0 replies; only message in thread
From: Martin Osvald @ 2026-11-01  8:10 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kea
            Branch : rawhide
            Commit : 29519da982f13523f2d84a0d88d696375be8ca45
            Author : Martin Osvald <mosvald@redhat.com>
            Date   : 2026-10-31T18:30:08+01:00
            Stats  : +3/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/kea/c/29519da982f13523f2d84a0d88d696375be8ca45?branch=rawhide

            Log:
            Restart kea-dhcp4, kea-dhcp6 and kea-dhcp-ddns on failure

Backport kea-packaging bedf285: add Restart=on-failure to the systemd
units. kea-dhcp-ddns exits on fatal errors such as an expired GSS security
context and would otherwise stay down until restarted manually

Ref: https://redhat.atlassian.net/browse/RHEL-298232

---
diff --git a/kea-dhcp-ddns.service b/kea-dhcp-ddns.service
index 03ec228..e33e335 100644
--- a/kea-dhcp-ddns.service
+++ b/kea-dhcp-ddns.service
@@ -26,6 +26,7 @@ StateDirectory=kea
 StateDirectoryMode=0750
 ExecStart=/usr/sbin/kea-dhcp-ddns -c /etc/kea/kea-dhcp-ddns.conf
 ExecReload=/usr/bin/kill -HUP $MAINPID
+Restart=on-failure
 
 [Install]
 WantedBy=multi-user.target

diff --git a/kea-dhcp4.service b/kea-dhcp4.service
index b3f3e88..a5109e0 100644
--- a/kea-dhcp4.service
+++ b/kea-dhcp4.service
@@ -26,6 +26,7 @@ StateDirectory=kea
 StateDirectoryMode=0750
 ExecStart=/usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf
 ExecReload=/usr/bin/kill -HUP $MAINPID
+Restart=on-failure
 
 [Install]
 WantedBy=multi-user.target

diff --git a/kea-dhcp6.service b/kea-dhcp6.service
index 767043e..d5c1117 100644
--- a/kea-dhcp6.service
+++ b/kea-dhcp6.service
@@ -26,6 +26,7 @@ StateDirectory=kea
 StateDirectoryMode=0750
 ExecStart=/usr/sbin/kea-dhcp6 -c /etc/kea/kea-dhcp6.conf
 ExecReload=/usr/bin/kill -HUP $MAINPID
+Restart=on-failure
 
 [Install]
 WantedBy=multi-user.target

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-01  8:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01  8:10 [rpms/kea] rawhide: Restart kea-dhcp4, kea-dhcp6 and kea-dhcp-ddns on failure Martin Osvald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox