Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2026 09:06:58 +0000
From:      Michael Osipov <michaelo@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Cc:        Aotian Cao <cat1890693@gmail.com>
Subject:   git: 47a9af4b39bf - main - rc.d/NETWORKING: remove the NETWORK alias
Message-ID:  <69df5532.1f122.4d9b8d92@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by michaelo:

URL: https://cgit.FreeBSD.org/src/commit/?id=47a9af4b39bf174efed7f6d43644d4b0bc0c9886

commit 47a9af4b39bf174efed7f6d43644d4b0bc0c9886
Author:     Aotian Cao <cat1890693@gmail.com>
AuthorDate: 2026-04-08 07:58:00 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2026-04-15 09:06:32 +0000

    rc.d/NETWORKING: remove the NETWORK alias
    
    NETWORKING is the documented placeholder, while
    /etc/rc.d/NETWORKING still provides the legacy alias
    NETWORK.
    
    The NETWORKING script was originally introduced to avoid
    conflicts with NetBSD's lowercase network script on
    case-insensitive file systems.  The NETWORK alias was
    retained for compatibility with older scripts.
    
    Following the discussion in PR 293652, remove the legacy
    NETWORK alias from 16-CURRENT.  Keeping both names adds
    more confusion than value now that NETWORKING is the
    documented placeholder and current base system and ports
    tree uses are already clean.
    
    Add an UPDATING entry to note that local RC scripts using
    REQUIRE: NETWORK should be migrated to REQUIRE: NETWORKING.
    
    PR:             293652
    Reviewed by:    michaelo, jlduran
    Relnotes:       yes
    Differential Revision:  https://reviews.freebsd.org/D56300
---
 UPDATING                   | 6 ++++++
 libexec/rc/rc.d/NETWORKING | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/UPDATING b/UPDATING
index d4a6e486aed0..c60143c6184e 100644
--- a/UPDATING
+++ b/UPDATING
@@ -27,6 +27,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 16.x IS SLOW:
 	world, or to merely disable the most expensive debugging functionality
 	at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20260412:
+	The /etc/rc.d/NETWORKING script no longer provides the legacy
+	NETWORK alias. Third-party or local RC scripts that still use
+	"REQUIRE: NETWORK" shall be updated to use "REQUIRE: NETWORKING"
+	instead.
+
 20260129:
 	The "net.inet6.ip6.use_stableaddr" sysctl is now on by default.
 	This changes the default algorithm to choose IPv6 SLAAC autogenerated
diff --git a/libexec/rc/rc.d/NETWORKING b/libexec/rc/rc.d/NETWORKING
index 402e20927a4c..8f46e78e3426 100755
--- a/libexec/rc/rc.d/NETWORKING
+++ b/libexec/rc/rc.d/NETWORKING
@@ -2,7 +2,7 @@
 #
 #
 
-# PROVIDE: NETWORKING NETWORK
+# PROVIDE: NETWORKING
 # REQUIRE: netif netwait netoptions routing ppp ipfw stf
 # REQUIRE: defaultroute route6d resolv bridge
 # REQUIRE: static_arp static_ndp


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69df5532.1f122.4d9b8d92>