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)
Sun, Sep 6, 3:37 PM
Unknown Object (File)
Sun, Sep 6, 3:29 PM
Unknown Object (File)
Mon, Aug 24, 8:22 PM
Unknown Object (File)
Tue, Aug 18, 2:36 PM
Unknown Object (File)
Aug 2 2026, 4:01 PM
Unknown Object (File)
Jul 29 2026, 9:54 PM
Unknown Object (File)
Jul 27 2026, 5:32 AM
Unknown Object (File)
Jul 27 2026, 1:34 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!