[Bug 285543] rc keywords: enable, disable, delete cannot manage certain built-in rc startup items.
Date: Thu, 20 Mar 2025 20:37:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285543
Jose Luis Duran <jlduran@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jlduran@FreeBSD.org
--- Comment #3 from Jose Luis Duran <jlduran@FreeBSD.org> ---
Although I agree that this can be frustrating, gateway is not a service.
That is, gateway_enable and ipv6_gateway_enable are just variables that are
checked under the routing service, they just happen to be named *_enable.
The case for firewall, is a little different. It gets set under ipfw:
# service ipfw enable
ipfw enabled in /etc/rc.conf
# sysrc firewall_enable
firewall_enable: YES
# service ipfw disable
ipfw disabled in /etc/rc.conf
# sysrc firewall_enable
firewall_enable: NO
If we inspect the ipfw rc.d script, you'll find that rcvar is defined as
firewall_enable. The reason for this discrepancy is likely historic.
In short, confusing, but IMO not a bug.
--
You are receiving this mail because:
You are the assignee for the bug.