[Bug 285543] rc keywords: enable, disable, delete cannot manage certain built-in rc startup items.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 20 Mar 2025 06:31:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285543

            Bug ID: 285543
           Summary: rc keywords: enable, disable, delete cannot manage
                    certain built-in rc startup items.
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yklaxds@gmail.com

rc keywords: enable, disable, delete cannot manage certain built-in rc startup
items.

--------------------------
root@ykla:~ # sysrc gateway_enable="YES"
gateway_enable: YES -> YES
root@ykla:~ # service gateway disable
gateway does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
root@ykla:~ # sysrc gateway_enable="NO"
gateway_enable: YES -> NO
root@ykla:~ # service gateway enable
gateway does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
root@ykla:~ # sysrc gateway_enable="YES"
gateway_enable: NO -> YES
root@ykla:~ # service gateway delete
gateway does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
----------------------------------

Similar issues also include sysrc ipv6_gateway_enable="YES", sysrc
firewall_nat_enable="YES", and so on.

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