Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2025 20:37:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 285543] rc keywords: enable, disable, delete cannot manage certain built-in rc startup items.
Message-ID:  <bug-285543-227-iPVFKmNDTA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285543-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285543-227-iPVFKmNDTA>