Page MenuHomeFreeBSD

release/tools: add bsdconfig so we have sysrc
AbandonedPublic

Authored by dch on Dec 5 2025, 5:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 5:27 AM
Unknown Object (File)
Sun, May 17, 5:16 PM
Unknown Object (File)
Sun, May 17, 4:05 PM
Unknown Object (File)
Sun, May 17, 2:20 PM
Unknown Object (File)
Fri, May 15, 8:39 AM
Unknown Object (File)
May 7 2026, 12:34 PM
Unknown Object (File)
Apr 28 2026, 12:43 PM
Unknown Object (File)
Apr 27 2026, 6:41 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.Jan 18 2026, 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.

going with ivy's opinion on this. thanks!