OPNsense Forum

English Forums => 25.7 Series => Topic started by: bartoszek on August 26, 2025, 08:15:07 AM

Title: <Solved> Removing unused system services
Post by: bartoszek on August 26, 2025, 08:15:07 AM
Hi!
I'm quite new to the OPNSense, and right now I'm a bit confused and wanted to make some cleanups in GUI. (there is a lot of functionality that I will newer use)

First of all I wanted to remove usused DHCP servers implementations. I use 'Dnsmasq DNS & DHCP' and do not need any features of kea, I do not need ISA dhcp, so i want to remove those packages from my system.

Can I safely do this? I also assume the those packages can be removed by normal freebsd 'package manager' or directly from opnsense gui

Title: Re: Removing unused system services
Post by: Stormscape on August 26, 2025, 08:26:30 AM
OPNsense isn't quite that modular. Services that "aren't needed" might be a dependency for what you are using. It's taking up minimal disk space and even if you removed them, they'll reappear when you install an update. The only things you can safely remove are anything listed under plugins.
Title: Re: Removing unused system services
Post by: bartoszek on August 26, 2025, 08:46:06 AM
ok, thank you for response, this is exactly the reason why I am asking :)
Title: Re: Removing unused system services
Post by: franco on August 26, 2025, 08:47:25 AM
> OPNsense isn't quite that modular.

Well, it is, but the core makes a few assumptions about a good (offline) base install and making everything plugins that is frequently used complicates development and release engineering.


Cheers,
Franco