Page MenuHomeFreeBSD
Feed Advanced Search

Aug 27 2025

0mp requested changes to D52175: rc.d/dhclient: load values from netif.

I am not sure if we should make our services read load more configuration files or perhaps solve this issue with symlinks.

Aug 27 2025, 12:31 PM · rc
feld added a comment to D52175: rc.d/dhclient: load values from netif.

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/

Aug 27 2025, 1:14 AM · rc
feld updated the summary of D52175: rc.d/dhclient: load values from netif.
Aug 27 2025, 1:13 AM · rc
feld added a comment to D52175: rc.d/dhclient: load values from netif.

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 27 2025, 1:00 AM · rc
feld updated the summary of D52175: rc.d/dhclient: load values from netif.
Aug 27 2025, 12:58 AM · rc
feld requested review of D52175: rc.d/dhclient: load values from netif.
Aug 27 2025, 12:55 AM · rc

Aug 8 2025

imp added a project to D6664: Allow rc.initdiskless to find configuration in subdirectories.: srcmgr.
Aug 8 2025, 6:07 PM · srcmgr, rc
imp added a comment to D6664: Allow rc.initdiskless to find configuration in subdirectories..

Not in -current, tagging for srcmgr review.

Aug 8 2025, 6:07 PM · srcmgr, rc

Jul 17 2025

0mp added a comment to D21450: rc.subr(8): Set procname to command by default to match documentation.

Hmm, actually, our documentation is slightly contradicting.

Jul 17 2025, 5:31 PM · rc

Jul 16 2025

0mp updated the test plan for D21450: rc.subr(8): Set procname to command by default to match documentation.
Jul 16 2025, 1:37 PM · rc
0mp updated the diff for D21450: rc.subr(8): Set procname to command by default to match documentation.
  • Rebase
  • Add tests
Jul 16 2025, 1:36 PM · rc

Jul 12 2025

0mp closed D47329: rc: Use check_jail to check values of security.jail MIBs.
Jul 12 2025, 4:24 PM · rc
0mp added a comment to D47329: rc: Use check_jail to check values of security.jail MIBs.

Thanks!

Jul 12 2025, 4:24 PM · rc

Jun 27 2025

markj added a reverting change for D45855: rc: Disable pathname expansion when calling run_rc_command(): rG9c014cc25c43: Revert "rc: Disable pathname expansion when calling run_rc_command()".
Jun 27 2025, 8:19 PM · rc
markj added a reverting change for D45855: rc: Disable pathname expansion when calling run_rc_command(): rGd783591a7deb: Revert "rc: Fix scripts that need pathname expansion".
Jun 27 2025, 8:19 PM · rc

Jun 20 2025

markj accepted D47329: rc: Use check_jail to check values of security.jail MIBs.
Jun 20 2025, 3:49 PM · rc
0mp added reviewers for D47329: rc: Use check_jail to check values of security.jail MIBs: bnovkov, christos, markj.
Jun 20 2025, 3:38 PM · rc

Jun 14 2025

kenrap_kennethraplee.com added a comment to D45855: rc: Disable pathname expansion when calling run_rc_command().
In D45855#1160605, @hrs wrote:
Jun 14 2025, 5:28 PM · rc
hrs added a comment to D45855: rc: Disable pathname expansion when calling run_rc_command().
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 14 2025, 2:24 PM · rc

Jun 13 2025

kenrap_kennethraplee.com added a comment to D45855: rc: Disable pathname expansion when calling run_rc_command().
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.

Jun 13 2025, 11:32 PM · rc
hrs added a comment to D45855: rc: Disable pathname expansion when calling run_rc_command().

This change introduced a regression where my allscreens_flags settings gets ignored at boot.

Jun 13 2025, 9:33 PM · rc
kenrap_kennethraplee.com added a comment to D45855: rc: Disable pathname expansion when calling run_rc_command().

This change introduced a regression where my allscreens_flags settings gets ignored at boot.

Jun 13 2025, 6:54 PM · rc

Jun 12 2025

hrs closed D45855: rc: Disable pathname expansion when calling run_rc_command().
Jun 12 2025, 6:21 PM · rc

May 9 2025

0mp closed D47328: service(8): Allow for passing no arguments to the service script.
May 9 2025, 2:59 PM · rc

Apr 17 2025

hs.freebsd_id.omnilan.de added a comment to D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default.

Hi Mark, thanks for your review.

Apr 17 2025, 1:00 PM · rc

Apr 15 2025

markj added a reviewer for D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default: network.
Apr 15 2025, 3:58 PM · rc
markj added a comment to D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default.

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 15 2025, 3:56 PM · rc

Apr 8 2025

hs.freebsd_id.omnilan.de updated the test plan for D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default.
Apr 8 2025, 3:16 PM · rc

Apr 7 2025

hs.freebsd_id.omnilan.de updated the diff for D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default.

Removed local _ifconfig_descr leftover from previously corrected autoif() hack

Apr 7 2025, 7:28 PM · rc
hs.freebsd_id.omnilan.de updated the diff for D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default.

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.

Apr 7 2025, 7:19 PM · rc
hs.freebsd_id.omnilan.de updated the summary of D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default.
Apr 7 2025, 6:41 PM · rc
hs.freebsd_id.omnilan.de updated the diff for D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default.

Better 'ifconfig description' handling - previous hack wasn't limited to ifn_start condition.

Apr 7 2025, 6:16 PM · rc
hs.freebsd_id.omnilan.de requested review of D49696: Fix renaming epair and devd(8) triggered interfaces and auto-NOAUTO the latter by default.
Apr 7 2025, 2:42 PM · rc

Dec 3 2024

tijl closed D47757: rc.d/sendmail: Fix error with some configurations.
Dec 3 2024, 10:49 AM · rc

Nov 28 2024

markj accepted D47757: rc.d/sendmail: Fix error with some configurations.
Nov 28 2024, 1:46 PM · rc

Nov 26 2024

tijl added a project to D47757: rc.d/sendmail: Fix error with some configurations: rc.
Nov 26 2024, 11:15 AM · rc

Oct 30 2024

netchild accepted D47329: rc: Use check_jail to check values of security.jail MIBs.

Looks good (not run tested).

Oct 30 2024, 10:10 AM · rc

Oct 29 2024

bnovkov accepted D47328: service(8): Allow for passing no arguments to the service script.
Oct 29 2024, 6:31 PM · rc
christos accepted D47328: service(8): Allow for passing no arguments to the service script.

Approved.

Oct 29 2024, 3:32 PM · rc
imp accepted D47328: service(8): Allow for passing no arguments to the service script.

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).

Oct 29 2024, 3:27 PM · rc
markj accepted D47328: service(8): Allow for passing no arguments to the service script.

Approved.

Oct 29 2024, 3:19 PM · rc
0mp updated the summary of D47329: rc: Use check_jail to check values of security.jail MIBs.
Oct 29 2024, 2:01 PM · rc
0mp added a project to D47329: rc: Use check_jail to check values of security.jail MIBs: rc.
Oct 29 2024, 2:00 PM · rc
0mp added reviewers for D47328: service(8): Allow for passing no arguments to the service script: markj, christos, bnovkov.
Oct 29 2024, 1:01 PM · rc

Oct 28 2024

0mp added a comment to D47264: rc: Remove rc_fast_and_loose.

Thank you all for feedback! :)

Oct 28 2024, 9:13 PM · rc
0mp closed D47264: rc: Remove rc_fast_and_loose.
Oct 28 2024, 9:12 PM · rc
christos accepted D47264: rc: Remove rc_fast_and_loose.
Oct 28 2024, 5:49 PM · rc
mhorne accepted D47264: rc: Remove rc_fast_and_loose.
Oct 28 2024, 1:43 PM · rc

Oct 25 2024

0mp updated the diff for D47264: rc: Remove rc_fast_and_loose.
  • Add UPDATING entry
  • Fix typos in rc.subr.8 and do some extra wordsmithing there
Oct 25 2024, 5:44 PM · rc
brooks added a comment to D47264: rc: Remove rc_fast_and_loose.

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.

Oct 25 2024, 3:17 PM · rc
markj added a comment to D47264: rc: Remove rc_fast_and_loose.
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.

Oct 25 2024, 1:34 PM · rc
0mp added a comment to D47264: rc: Remove rc_fast_and_loose.

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 25 2024, 9:16 AM · rc

Oct 24 2024

0mp added inline comments to D47264: rc: Remove rc_fast_and_loose.
Oct 24 2024, 8:23 AM · rc

Oct 23 2024

christos accepted D47264: rc: Remove rc_fast_and_loose.

Approved, plus a minor nit.

Oct 23 2024, 9:22 PM · rc
0mp added a comment to D47264: rc: Remove rc_fast_and_loose.

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.

Oct 23 2024, 8:35 PM · rc
0mp resigned from D15689: Including rc_conf_directories to be loaded with rc(8).
Oct 23 2024, 8:21 PM · rc
markj added a comment to D47264: rc: Remove rc_fast_and_loose.

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.

Oct 23 2024, 7:57 PM · rc
0mp updated the summary of D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 7:56 PM · rc
0mp added inline comments to D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 7:56 PM · rc
0mp added reviewers for D47264: rc: Remove rc_fast_and_loose: bnovkov, christos, markj.
Oct 23 2024, 7:50 PM · rc
brooks added inline comments to D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 5:05 PM · rc
mhorne accepted D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 5:03 PM · rc
0mp requested review of D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 4:18 PM · rc
0mp planned changes to D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 4:18 PM · rc
0mp updated the diff for D47264: rc: Remove rc_fast_and_loose.

Update docs and remove an unused boottrace function

Oct 23 2024, 4:17 PM · rc
brooks accepted D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 3:49 PM · rc
mhorne accepted D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 3:22 PM · rc
0mp updated the summary of D47264: rc: Remove rc_fast_and_loose.
Oct 23 2024, 1:32 PM · rc
0mp added a project to D47264: rc: Remove rc_fast_and_loose: rc.
Oct 23 2024, 12:58 PM · rc

Oct 21 2024

0mp closed D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 7:23 PM · rc
0mp added a comment to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

Thanks!

Oct 21 2024, 7:23 PM · rc
christos accepted D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 6:42 PM · rc
markj accepted D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

Approved.

Oct 21 2024, 6:38 PM · rc
0mp added a comment to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

I'll set MFC to 2 weeks so that it does not land in 14.2.

Oct 21 2024, 6:36 PM · rc
0mp updated the diff for D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

Set exit status by calling exit in a subshell.

Oct 21 2024, 6:24 PM · rc
0mp added a comment to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

I opened a PR for investigating the rc_fast_and_loose support: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282255

Oct 21 2024, 5:55 PM · rc
markj added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 5:43 PM · rc
0mp added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 5:37 PM · rc
markj added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 5:36 PM · rc
0mp added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 5:33 PM · rc
markj added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 5:08 PM · rc
0mp added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 4:08 PM · rc
0mp added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 4:00 PM · rc
markj added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 21 2024, 1:48 PM · rc
0mp updated the diff for D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

Check all invocations.

Oct 21 2024, 10:14 AM · rc
0mp added a comment to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

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 21 2024, 9:58 AM · rc

Oct 19 2024

gshapiro accepted D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

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, 8:29 PM · rc

Oct 17 2024

markj accepted D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 17 2024, 3:07 PM · rc

Oct 16 2024

0mp added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 16 2024, 4:19 PM · rc
0mp added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 16 2024, 4:18 PM · rc
christos added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 16 2024, 1:13 PM · rc
christos added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 16 2024, 1:12 PM · rc
markj added inline comments to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 16 2024, 1:04 PM · rc
christos accepted D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.

LGTM. Only a minor nit: in the commit message there is a typo: "sendmai daemon ...".

Oct 16 2024, 10:36 AM · rc
0mp updated the summary of D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running.
Oct 16 2024, 8:39 AM · rc
0mp added reviewers for D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running: bnovkov, christos, markj.
Oct 16 2024, 8:39 AM · rc
0mp closed D35958: rc/tests: Skip oomprotect tests in a jail.

Committed in https://cgit.freebsd.org/src/commit/?id=6fa42b91ca3f481912af98c4d49c44507eb1b8e1

Oct 16 2024, 8:38 AM · rc

Oct 14 2024

0mp added a comment to D35958: rc/tests: Skip oomprotect tests in a jail.

Thanks!

Oct 14 2024, 10:30 AM · rc

Oct 12 2024

christos accepted D35958: rc/tests: Skip oomprotect tests in a jail.

Approved.

Oct 12 2024, 9:49 PM · rc
bnovkov accepted D35958: rc/tests: Skip oomprotect tests in a jail.
Oct 12 2024, 4:17 PM · rc