I am not sure if we should make our services read load more configuration files or perhaps solve this issue with symlinks.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Aug 27 2025
There is a second problem I've discovered... ifconfig_DEFAULT= only works in /etc/rc.conf. It does not work when put into /etc/rc.conf.local or any of these files in /etc/rc.conf.d/
I kinda wonder if load_rc_config $name should be the last one loaded so /etc/rc.conf.d/dhclient overrides the other files...
Aug 8 2025
Not in -current, tagging for srcmgr review.
Jul 17 2025
Hmm, actually, our documentation is slightly contradicting.
Jul 16 2025
- Rebase
- Add tests
Jul 12 2025
Thanks!
Jun 27 2025
Jun 20 2025
Jun 14 2025
In D45855#1160514, @kenrap_kennethraplee.com wrote:In D45855#1160497, @hrs wrote:Could you explain your configuation and behavior change in more detail?
Sure thing. I use the following in my rc.conf which enlarges the virtual terminal fonts from being small after loading a drm-kmod driver during the booting process:
allscreens_flags="-f spleen-16x32"After doing a src tree build upgrade today this functionality had stopped. By manually removing both set -o noglob and set +o noglob lines, I restored the original functionality.
The problem is that allscreens_flags relies on the pathname expansion in two places:
https://github.com/freebsd/freebsd-src/blob/4deb9760a9d84d5861ee45162ffebe83f13503b8/libexec/rc/rc.d/syscons#L237-L243
https://github.com/freebsd/freebsd-src/blob/4deb9760a9d84d5861ee45162ffebe83f13503b8/libexec/rc/rc.d/syscons#L381-L387
Jun 13 2025
In D45855#1160497, @hrs wrote:Could you explain your configuation and behavior change in more detail?
Sure thing. I use the following in my rc.conf which enlarges the virtual terminal fonts from being small after loading a drm-kmod driver during the booting process:
allscreens_flags="-f spleen-16x32"
After doing a src tree build upgrade today this functionality had stopped. By manually removing both set -o noglob and set +o noglob lines, I restored the original functionality.
In D45855#1160402, @kenrap_kennethraplee.com wrote:This change introduced a regression where my allscreens_flags settings gets ignored at boot.
This change introduced a regression where my allscreens_flags settings gets ignored at boot.
Jun 12 2025
May 9 2025
Apr 17 2025
Hi Mark, thanks for your review.
Apr 15 2025
Could you please explain what the diff is actually changing? It is quite hard to understand, for someone not very familiar with this code.
Apr 8 2025
Apr 7 2025
Removed local _ifconfig_descr leftover from previously corrected autoif() hack
Replaced PoC diff with real tested diff - sorry for the mess.
This version corresponds to what the summary and the bug report (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285947) describe.
Better 'ifconfig description' handling - previous hack wasn't limited to ifn_start condition.
Dec 3 2024
Nov 28 2024
Nov 26 2024
Oct 30 2024
Looks good (not run tested).
Oct 29 2024
Approved.
Seems sane enough. It's not something we use today, and I've verified that run_rc_command should do the right thing w/o side effects (although I'd think that the -z rc_arg test should be higher in that function to avoid pid file name eval, etc).
Approved.
Oct 28 2024
Thank you all for feedback! :)
Oct 25 2024
- Add UPDATING entry
- Fix typos in rc.subr.8 and do some extra wordsmithing there
I'm sure it adds appreciable speedup in some cases, but I can't see us fixing support and keeping it working. Best to stop pretending and focus on lower hanging fruit.
In D47264#1078101, @0mp wrote:I've got some reports from the NetBSD community that setting rc_fast_and_loose on NetBSD booting on vax simh makes rc finish in 109 seconds instead of 183 seconds (https://mastodon.sdf.org/@mrgtwentythree/113364676304360235).
At the same time, brooks@ mentioned in Bugzilla (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282255#c4) that the benefits of rc_fast_and_loose are probably negligible.
I've got some reports from the NetBSD community that setting rc_fast_and_loose on NetBSD booting on vax simh makes rc finish in 109 seconds instead of 183 seconds (https://mastodon.sdf.org/@mrgtwentythree/113364676304360235).
Oct 24 2024
Oct 23 2024
Approved, plus a minor nit.
In D47264#1077729, @markj wrote:Approved.
This probably deserves an entry in UPDATING as well as the relnotes tag, since it breaks backward compatibility and applies to those who track main as well as release users.
This probably deserves an entry in UPDATING as well as the relnotes tag, since it breaks backward compatibility and applies to those who track main as well as release users.
Update docs and remove an unused boottrace function
Oct 21 2024
Thanks!
Approved.
I'll set MFC to 2 weeks so that it does not land in 14.2.
Set exit status by calling exit in a subshell.
I opened a PR for investigating the rc_fast_and_loose support: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282255
Check all invocations.
In D46862#1076197, @gshapiro wrote:This is an improvement over the current functionality, but I think we would want all invocations to be checked. I wonder if it would be better to separate these into separate rc scripts instead of using one for four possible different daemons. That shouldn't prevent this change from going forward while alternatives are formulated.
Oct 19 2024
This is an improvement over the current functionality, but I think we would want all invocations to be checked. I wonder if it would be better to separate these into separate rc scripts instead of using one for four possible different daemons. That shouldn't prevent this change from going forward while alternatives are formulated.
Oct 17 2024
Oct 16 2024
LGTM. Only a minor nit: in the commit message there is a typo: "sendmai daemon ...".
Oct 14 2024
Thanks!
Oct 12 2024
Approved.