[Bug 290674] net/kea: restart does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Oct 2025 04:28:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290674

            Bug ID: 290674
           Summary: net/kea: restart does not work
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mfechner@FreeBSD.org
                CC: apevnev@me.com
             Flags: maintainer-feedback?(apevnev@me.com)
                CC: apevnev@me.com

It seems that if a `service kea restart` is triggered, it send a stop to kea,
but does not wait and directly initiate a start which causes the error that kea
is already running.
Result is after a restart command that kea is not runnig which is an unexpected
behaviour after a restart command.

Do you think that could be fixed?

Here is what I see:
# service kea restart                                                          
                                                                               
                                      INFO/keactrl: Stopping kea-dhcp4...       
INFO/keactrl: Stopping kea-dhcp6...                                             
INFO/keactrl: kea-dhcp-ddns isn't running.                                      
INFO/keactrl: Stopping kea-ctrl-agent...                                        
Starting kea.                                                                   
INFO/keactrl: kea-dhcp4 appears to be running, see: PID 1279, PID file:
//var/run/kea/kea-dhcp4.kea-dhcp4.pid.                                          
INFO/keactrl: kea-dhcp6 appears to be running, see: PID 1284, PID file:
//var/run/kea/kea-dhcp6.kea-dhcp6.pid.                                          
INFO/keactrl: kea-ctrl-agent appears to be running, see: PID 1290, PID file:
//var/run/kea/kea-ctrl-agent.kea-ctrl-agent.pid.

Thanks a lot!

-- 
You are receiving this mail because:
You are the assignee for the bug.