Page MenuHomeFreeBSD

rc.subr: Add /etc/defaults/rc.conf.d
AcceptedPublic

Authored by ivy on Aug 10 2025, 4:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 5, 8:01 PM
Unknown Object (File)
Sun, Jul 5, 4:43 AM
Unknown Object (File)
Sat, Jul 4, 10:46 AM
Unknown Object (File)
Thu, Jul 2, 6:26 AM
Unknown Object (File)
Tue, Jun 30, 10:34 AM
Unknown Object (File)
Sun, Jun 28, 6:49 PM
Unknown Object (File)
Wed, Jun 24, 6:42 PM
Unknown Object (File)
May 17 2026, 1:50 PM
Subscribers

Details

Reviewers
imp
emaste
adrian
bapt
Group Reviewers
rc
pkgbase
Summary

This is /etc/defaults/rc.conf but for individual services. Unlike
/etc/rc.conf.d, files in /etc/defaults/rc.conf.d are shipped by the
operating system and shouldn't be modified by users, so they should
not have the @config tag.

This allows optional packages to install their own default config
instead of dumping everything in /etc/defaults/rc.conf.

While here, move rc.d and rc.conf.d to the rc package.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66149
Build 63032: arc lint + arc unit