OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: Mr. Happy on September 11, 2025, 10:55:08 AM

Title: Remove/hide isc after migrating to kea
Post by: Mr. Happy on September 11, 2025, 10:55:08 AM
I've migrated my isc-config to kea and all is functioning well.
On the dashboard however, isc is (still) there (and not running obviously).
How can I remove/hide the isc-status on the dashboard?
The red icon is rather distracting ;)
Title: Re: Remove/hide isc after migrating to kea
Post by: Patrick M. Hausen on September 11, 2025, 11:03:39 AM
Have you explicitly disabled ISC on every single interface? Then the dashboard widget should not show it.
Title: Re: Remove/hide isc after migrating to kea
Post by: franco on September 11, 2025, 11:41:38 AM
Need more data here please. Which specific ISC mention on the dashboard?


Cheers,
Franco
Title: Re: Remove/hide isc after migrating to kea
Post by: Mr. Happy on September 12, 2025, 03:26:47 PM
I have removed the checkmark on all interfaces under 'Services / ISC DHCPv4'.

On the dashboard I have the 'Services'-panel. There it shows 'ISC DHCPv4 Server' with the red 'Stopped'-icon.
I would like to have that gone, because I do not need to know it is stopped ('cause I don't use it ;) ).
Title: Re: Remove/hide isc after migrating to kea
Post by: cguilford on September 12, 2025, 03:39:51 PM
I'm assuming he means it's still listed under "Services" as I don't think there is a way to remove it from there?
Title: Re: Remove/hide isc after migrating to kea
Post by: Mr. Happy on September 12, 2025, 03:47:45 PM
I mean this (see att)
Title: Re: Remove/hide isc after migrating to kea
Post by: franco on September 12, 2025, 04:19:27 PM
@cguilford he said "dashboard" in his first post :)

@Mr. Happy thanks, I'll take a look on Monday. Assumed you may have asked about DHCPv6 which is still there for other reasons. Since it's DHCPv4 it could be a bug.


Cheers,
Franco
Title: Re: Remove/hide isc after migrating to kea
Post by: cguilford on September 12, 2025, 04:32:07 PM
Quote from: Mr. Happy on September 12, 2025, 03:47:45 PMI mean this (see att)
Sorry about that misread your post.
Title: Re: Remove/hide isc after migrating to kea
Post by: franco on September 15, 2025, 08:25:20 AM
Checked this out.. the code is pretty simple: test if DHCP server is enabled and see if the interface it references does exist in the config (even if disabled). So this may be an older bug pertaining to a different interface from the past.

I'd suggest flushing the configuration here which seems to be the quickest road to success:

# pluginctl -f dhcpd

(will show and ask to confirm the deletion of the ISC DHCPv4 configuration, also creates a backup just in case)


Cheers,
Franco
Title: Re: Remove/hide isc after migrating to kea
Post by: Mr. Happy on September 15, 2025, 10:20:51 AM
Quote from: franco on September 15, 2025, 08:25:20 AMChecked this out.. the code is pretty simple: test if DHCP server is enabled and see if the interface it references does exist in the config (even if disabled). So this may be an older bug pertaining to a different interface from the past.

I'd suggest flushing the configuration here which seems to be the quickest road to success:

# pluginctl -g dhcpd

(will show and ask to confirm the deletion of the ISC DHCPv4 configuration, also creates a backup just in case)


Cheers,
Franco
Thanks.
I ran the command and it printed the dhcp-settings, but didn“t ask anything and ISC is still visible as a stopped service.

After that I took a look at the code and ran it with '-f' and that worked.
Title: Re: Remove/hide isc after migrating to kea
Post by: franco on September 15, 2025, 11:01:54 AM
Sorry, yes, I meant -f :)