Page MenuHomeFreeBSD

release/tools: add bsdconfig so we have sysrc
Needs ReviewPublic

Authored by dch on Dec 5 2025, 5:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 22, 10:40 AM
Unknown Object (File)
Fri, Jan 16, 4:07 AM
Unknown Object (File)
Wed, Jan 7, 7:39 PM
Unknown Object (File)
Dec 24 2025, 4:27 AM
Unknown Object (File)
Dec 19 2025, 9:10 PM
Unknown Object (File)
Dec 18 2025, 9:46 AM
Unknown Object (File)
Dec 15 2025, 6:01 PM
Unknown Object (File)
Dec 15 2025, 11:28 AM
Subscribers

Details

Reviewers
dfr
ivy
Group Reviewers
releng
pkgbase
Summary

This solves a local problem of having sysrc available in jails, but
I would probably prefer to make sysrc available in a different package,
that doesn't require pulling in all of bsdconfig, like FreeBSD-rc maybe?

Anybody got strong opinions?

Diff Detail

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

Event Timeline

dch requested review of this revision.Dec 5 2025, 5:44 PM

Ivy over to you if this should go into a set or not. This is a 1.12MiB package, with sysrc as well as bsdconfig.

dch retitled this revision from release/tools: add bsdconfig for sysrc to release/tools: add bsdconfig so we have sysrc.Sun, Jan 18, 3:38 PM
dch edited the summary of this revision. (Show Details)
dch added a reviewer: ivy.

i put a fair amount of effort into not making bsdconfig a required part of the system and don't really want to see it come back. sysrc can't really be decoupled from bsdconfig, at least in the current implementation, because it's just a thin wrapper around what bsdconfig does.

i would love to see someone re-implement it to not use bsdconfig, similar to what i did for /etc/rc.subr for the service enable/disable commands.