Page MenuHomeFreeBSD
Feed Search

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

Oct 11 2024

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

Approved.

Oct 11 2024, 12:48 PM · rc
0mp updated the summary of D35958: rc/tests: Skip oomprotect tests in a jail.
Oct 11 2024, 11:12 AM · rc
0mp added a reviewer for D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running: gshapiro.

I think this patch is a fair workaround for the issues reported in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223132.

Oct 11 2024, 9:29 AM · rc

Oct 10 2024

0mp closed D46924: rc.d/sendmail: Fix the rcorder block.
Oct 10 2024, 11:44 AM · rc
0mp added a comment to D46924: rc.d/sendmail: Fix the rcorder block.

What exactly is the effect? Does sendmail actually need the shutdown keyword?

Yes, to ensure a clean shutdown of active SMTP connections (and writing any in memory queue files).

Oct 10 2024, 10:05 AM · rc

Oct 9 2024

christos accepted D46924: rc.d/sendmail: Fix the rcorder block.

Approved.

Oct 9 2024, 11:04 PM · rc
gshapiro accepted D46924: rc.d/sendmail: Fix the rcorder block.
Oct 9 2024, 10:28 PM · rc
gshapiro added a comment to D46924: rc.d/sendmail: Fix the rcorder block.

What exactly is the effect? Does sendmail actually need the shutdown keyword?

Oct 9 2024, 10:28 PM · rc
bnovkov accepted D46924: rc.d/sendmail: Fix the rcorder block.

LGTM, approved.

Oct 9 2024, 3:20 PM · rc
markj added a comment to D46924: rc.d/sendmail: Fix the rcorder block.

This seems fine to me. Looks like it's been broken for a rather long time.

Oct 9 2024, 3:19 PM · rc
markj added a reviewer for D46924: rc.d/sendmail: Fix the rcorder block: gshapiro.
Oct 9 2024, 3:18 PM · rc
0mp updated the test plan for D46924: rc.d/sendmail: Fix the rcorder block.
Oct 9 2024, 3:16 PM · rc

Oct 1 2024

0mp added a comment to D24415: Add rcvar to rc.d/utx.

And the features got documented in 81b9905234e34a778dd524385279c2a807d83308...

Oct 1 2024, 1:49 PM · 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 a stopgap. A proper fix would require a rewrite of this service script and possibly a split of the different functionalities of this script into separate files.

Oct 1 2024, 1:35 PM · rc
0mp added a project to D46862: rc.d/sendmail: Return non-zero if the daemon fails to start or is not running: rc.
Oct 1 2024, 1:34 PM · rc

Sep 15 2024

0mp abandoned D24415: Add rcvar to rc.d/utx.

A similar patch was committed to the tree: https://reviews.freebsd.org/D38292

Sep 15 2024, 10:28 PM · rc

Jul 3 2024

hrs added a project to D45855: rc: Disable pathname expansion when calling run_rc_command(): rc.
Jul 3 2024, 2:41 PM · rc
hrs added a watcher for rc: hrs.
Jul 3 2024, 9:14 AM
hrs added a member for rc: hrs.
Jul 3 2024, 9:14 AM

May 28 2024

franco_opnsense.org added a comment to D36259: rc: also run NAME_setup on NAME_reload.

In principle this only changes the user side setup (rc.conf), not the ports side. There is no direct ports consumer of this feature and it tries to hook into all services in order to automate configuration changes when service commands are dispatched.

May 28 2024, 2:39 PM · rc
netchild added a comment to D36259: rc: also run NAME_setup on NAME_reload.

In my work for the automatic service jails (committed last week), I stumbled upon cases (in the base system) where some kind of functions were used to setup variables before starting the actual service, which was not necessary. When the automatic service jail is enabled for such a service, some of this stuff was run outside the service jail and didn't had the desired effect. After changing those scripts to not setup variables like that, it worked.

May 28 2024, 2:33 PM · rc
imp added a comment to D36259: rc: also run NAME_setup on NAME_reload.

This won't merge, I'm talking to @imp at https://github.com/freebsd/freebsd-src/pull/1258

May 28 2024, 2:15 PM · rc
franco_opnsense.org closed D36259: rc: also run NAME_setup on NAME_reload.

Yes I just need to wrap up testing for the updated GH PR

May 28 2024, 2:10 PM · rc
oshogbo added a comment to D36259: rc: also run NAME_setup on NAME_reload.

Oh and I was going to try merge it :P
So we can close this review?

May 28 2024, 2:08 PM · rc
franco_opnsense.org added a comment to D36259: rc: also run NAME_setup on NAME_reload.

This won't merge, I'm talking to @imp at https://github.com/freebsd/freebsd-src/pull/1258

May 28 2024, 2:07 PM · rc
oshogbo accepted D36259: rc: also run NAME_setup on NAME_reload.
May 28 2024, 2:06 PM · rc

May 22 2024

netchild closed D40371: automatic service jails: some setup for full functionality of the services in automatic service jails.
May 22 2024, 1:42 PM · rc, Jails
netchild closed D40370: Infrastructure for automatic jailing of rc.d-services.
May 22 2024, 1:42 PM · rc, Jails

May 6 2024

emaste closed D36309: Allow to specify umask(1) for a service started with rc(8).

Was committed (tag was Differential not Differential Revision so it did not auto-close).

May 6 2024, 5:05 PM · rc
emaste added a comment to D36906: Tolerate missing /usr/bin/timeout in zfskeys.

@0mp if you put just the short version of the review (D38344) Phab will show if its closed or still open. With that change committed there is presumably no reason for this change any longer?

May 6 2024, 5:01 PM · rc

Mar 27 2024

stevek abandoned D39624: veriexec: Add support in rc.d script processing..
Mar 27 2024, 9:09 PM · rc

Mar 26 2024

franco_opnsense.org added a comment to D36259: rc: also run NAME_setup on NAME_reload.

No takers? This has been in a half-working state in FreeBSD 14 for quite some time. :/

Mar 26 2024, 1:56 PM · rc

Mar 22 2024

trasz abandoned D23333: Include comments in EC2 rc.conf and loader.conf.
Mar 22 2024, 9:36 AM · rc

Feb 20 2024

zarychtam_plan-b.pwste.edu.pl added a comment to D41318: Add the "missing" WireGuard rc.d script.

That's the way how DragonFlyBSD devs solved the problem
https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/451640b7cf6bcf7826b901ac9a51647442adb96b

Feb 20 2024, 3:45 PM · manpages, rc, network

Feb 9 2024

sjg closed D43671: /etc/rc add trace debug and verify.
Feb 9 2024, 5:18 PM · rc
imp accepted D43671: /etc/rc add trace debug and verify.
Feb 9 2024, 5:00 PM · rc
sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Add SPDX BSD-2-Clause to safe_eval.sh

Feb 9 2024, 3:14 AM · rc

Feb 7 2024

sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Use local.rc.subr rather than rc.subr.local

Feb 7 2024, 9:19 PM · rc
crest_freebsd_rlwinm.de added inline comments to D41318: Add the "missing" WireGuard rc.d script.
Feb 7 2024, 4:06 PM · manpages, rc, network
sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Validate load_rc_config_reader

Feb 7 2024, 12:01 AM · rc

Feb 6 2024

sjg added inline comments to D43671: /etc/rc add trace debug and verify.
Feb 6 2024, 11:56 PM · rc
sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Implement some feedback

Feb 6 2024, 11:51 PM · rc
sjg added inline comments to D43671: /etc/rc add trace debug and verify.
Feb 6 2024, 11:44 PM · rc
imp added inline comments to D43671: /etc/rc add trace debug and verify.
Feb 6 2024, 7:10 PM · rc

Feb 3 2024

sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Update doc in debug.sh

Feb 3 2024, 7:09 PM · rc

Feb 2 2024

sjg updated the diff for D43671: /etc/rc add trace debug and verify.

rc.subr add comment explaining the no-op Debug{On,Off} and safe_dot
at the end - in case the real ones could not be found.

Feb 2 2024, 6:17 PM · rc
sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Tweak debug.sh.8, use .Fn when refering to functions called.

Feb 2 2024, 6:09 PM · rc

Feb 1 2024

sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Man page tweaks

Feb 1 2024, 4:15 AM · rc
sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Add man page for debug.sh

Feb 1 2024, 2:47 AM · rc

Jan 31 2024

sjg added inline comments to D43671: /etc/rc add trace debug and verify.
Jan 31 2024, 8:42 PM · rc
sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Further man page tweaks

Jan 31 2024, 7:56 PM · rc
sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Make a start on man pages

Jan 31 2024, 7:33 PM · rc
netchild added inline comments to D43671: /etc/rc add trace debug and verify.
Jan 31 2024, 8:20 AM · rc
sjg added inline comments to D43671: /etc/rc add trace debug and verify.
Jan 31 2024, 8:09 AM · rc
sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Fix some style issues in rc.subr

Jan 31 2024, 8:05 AM · rc
netchild added inline comments to D43671: /etc/rc add trace debug and verify.
Jan 31 2024, 7:59 AM · rc
sjg added a comment to D43671: /etc/rc add trace debug and verify.

Will have a go at the style issues.

Jan 31 2024, 7:40 AM · rc
netchild added a comment to D43671: /etc/rc add trace debug and verify.

The comments for rc.subr also apply to the new files.
What about a man page update how to turn on the debug feature? To my current understanding DEBUG_SH can be set interactively in the loader, and administratively in loader.conf... maybe also in rc.conf? So more than one man page to touch at least with a cross-ref.

Jan 31 2024, 7:27 AM · rc

Jan 30 2024

sjg updated the diff for D43671: /etc/rc add trace debug and verify.

Check for -f as well as -s

Jan 30 2024, 11:47 PM · rc
sjg added a comment to D39624: veriexec: Add support in rc.d script processing..

This is overcome by D43671

Jan 30 2024, 8:15 PM · rc
sjg added a project to D43671: /etc/rc add trace debug and verify: rc.

Note: If the format of rc_log is deemed undesirable we could move it (and rc_trace) to rc.subr.local and just put a place holder in rc.subr

Jan 30 2024, 7:30 PM · rc
sjg added a comment to D39624: veriexec: Add support in rc.d script processing..

I know a few folk are interested in using mac_veriexec, but we could push the guts of vdot etc into rc.subr.local (I've moved it to the end of the file) and just put a place holder here like vdot() { dot "$@"; }. It is the callouts in run_rc_* etc which are most important.

Jan 30 2024, 6:02 PM · rc
manu added a project to D39624: veriexec: Add support in rc.d script processing.: rc.
Jan 30 2024, 5:55 PM · rc

Jan 16 2024

kevans resigned from D41318: Add the "missing" WireGuard rc.d script.

Resigning from this; I tried to provide feedback over IRC, but that was seemingly not well-received (and questions unanswered) and I'm not interested in reviewing this as-is. I'd much prefer splitting it into two scripts, one with, e.g., verbs, that manages wireguard interfaces and then the rc script that simply drives that in an obvious way. The last objection I heard was that there's too much state to pass around, but it's not at all clear why unless this is trying to mix way too much rc.conf configuration in with wg config.

Jan 16 2024, 4:15 PM · manpages, rc, network
rpokala added inline comments to D41318: Add the "missing" WireGuard rc.d script.
Jan 16 2024, 4:09 PM · manpages, rc, network

Jan 15 2024

crest_freebsd_rlwinm.de added inline comments to D41318: Add the "missing" WireGuard rc.d script.
Jan 15 2024, 12:48 PM · manpages, rc, network
crest_freebsd_rlwinm.de added inline comments to D41318: Add the "missing" WireGuard rc.d script.
Jan 15 2024, 12:41 PM · manpages, rc, network
crest_freebsd_rlwinm.de added inline comments to D41318: Add the "missing" WireGuard rc.d script.
Jan 15 2024, 12:20 PM · manpages, rc, network

Jan 11 2024

bcr accepted D40370: Infrastructure for automatic jailing of rc.d-services.

OK for the man page change. Make sure to bump the .Dd when you commit it for this content change.
Thanks for working on this, it's appreciated!

Jan 11 2024, 1:20 PM · rc, Jails
netchild updated the diff for D40371: automatic service jails: some setup for full functionality of the services in automatic service jails.
  • make some scripts compatible with svcj (convert parts of the precmd into another way of settings variables), precmd is not run inside the same shell/jail = make it work with svcj
  • add some support for nfs in svcj, not yet finished (precmd is not comaptible)
  • exclude some scripts from svcj due to an incompatible precmd (not run in same shell/jail)
Jan 11 2024, 11:15 AM · rc, Jails
netchild updated the diff for D40370: Infrastructure for automatic jailing of rc.d-services.

Make jls quiet.

Jan 11 2024, 11:11 AM · rc, Jails

Dec 29 2023

crest_freebsd_rlwinm.de added a comment to D41318: Add the "missing" WireGuard rc.d script.

No manual page to review, yet manpages is a group reviewer. Did a file get accidentally left out?

Dec 29 2023, 9:49 PM · manpages, rc, network

Dec 12 2023

pauamma_gundo.com added a comment to D41318: Add the "missing" WireGuard rc.d script.

No manual page to review, yet manpages is a group reviewer. Did a file get accidentally left out?

Dec 12 2023, 1:59 AM · manpages, rc, network

Dec 2 2023

jlduran added a comment to D36309: Allow to specify umask(1) for a service started with rc(8).
In D36309#935684, @jlduran_gmail.com wrote:

Is there a reason why this change was not MFCd? Thank you!

Forgot about it. I've just merged it downto stable/12.

Dec 2 2023, 12:41 PM · rc
eugen_grosbein.net added a comment to D36309: Allow to specify umask(1) for a service started with rc(8).
In D36309#935684, @jlduran_gmail.com wrote:

Is there a reason why this change was not MFCd? Thank you!

Dec 2 2023, 9:20 AM · rc

Nov 28 2023

netchild updated the summary of D40370: Infrastructure for automatic jailing of rc.d-services.
Nov 28 2023, 7:44 PM · rc, Jails

Nov 26 2023

zarychtam_plan-b.pwste.edu.pl added a comment to D30175: Add netgraph BFP rc.d script.

This script looks very promising, but it won't be easy to fulfill all committers' needs, but perhaps it would be easier to make it available as a port, for example, net-mgmt/ng_bpf_firewall ?

Nov 26 2023, 8:34 PM · rc

Nov 24 2023

netchild added a comment to D40371: automatic service jails: some setup for full functionality of the services in automatic service jails.

Only rc.d/opensm is missing.

Nov 24 2023, 11:40 AM · rc, Jails
netchild updated the diff for D40371: automatic service jails: some setup for full functionality of the services in automatic service jails.
Nov 24 2023, 11:38 AM · rc, Jails

Nov 21 2023

franco_opnsense.org added a comment to D36259: rc: also run NAME_setup on NAME_reload.

Maybe to add to that: the main motivation was a user-side precmd type hook support since the precmd is hard or impossible to overwrite (being used in the rc scripts defined by the ports) and name_setup=path/to/file seemed to be the easiest solution.

Nov 21 2023, 10:17 AM · rc
franco_opnsense.org added a comment to D36259: rc: also run NAME_setup on NAME_reload.

Set up script variable:

Nov 21 2023, 10:14 AM · rc
freebsd_igalic.co added a comment to D36259: rc: also run NAME_setup on NAME_reload.

can you show me an example of this in action?
how are you using it in your ports?

Nov 21 2023, 10:04 AM · rc
franco_opnsense.org added a comment to D36259: rc: also run NAME_setup on NAME_reload.

@oshogbo I've updated this again fixing a remaining issue with restart_precmd -- if you can find the time to review I'd appreciate it.

Nov 21 2023, 9:58 AM · rc
franco_opnsense.org updated the summary of D36259: rc: also run NAME_setup on NAME_reload.
Nov 21 2023, 9:57 AM · rc
franco_opnsense.org updated the diff for D36259: rc: also run NAME_setup on NAME_reload.

update to latest

Nov 21 2023, 9:53 AM · rc

Nov 16 2023

netchild updated the diff for D40370: Infrastructure for automatic jailing of rc.d-services.

Add support for nfs. Sort the options.

Nov 16 2023, 10:09 AM · rc, Jails
netchild updated the diff for D40371: automatic service jails: some setup for full functionality of the services in automatic service jails.

Add config for some more services.

Nov 16 2023, 10:08 AM · rc, Jails

Nov 13 2023

kib closed D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths.
Nov 13 2023, 11:40 PM · rc
kib accepted D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths.

Please send me the git-formatted patch, with the metadata filled in. Most important, please set the author field to appropriate name/email.

Nov 13 2023, 3:00 PM · rc
john_saltant.com updated the diff for D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths.

Incorporated feedback.

Nov 13 2023, 1:07 PM · rc
kib added inline comments to D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths.
Nov 13 2023, 11:39 AM · rc
john_saltant.com added inline comments to D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths.
Nov 13 2023, 4:22 AM · rc

Nov 12 2023

kib added inline comments to D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths.
Nov 12 2023, 11:15 PM · rc
john_saltant.com requested review of D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths.
Nov 12 2023, 10:57 PM · rc

Nov 10 2023

netchild updated the diff for D40370: Infrastructure for automatic jailing of rc.d-services.

Change what was noticed in comments. Add a feature to enable the execution of extra commands inside the service jail.

Nov 10 2023, 11:34 AM · rc, Jails

Oct 16 2023

michael_galassi.us added a comment to D41318: Add the "missing" WireGuard rc.d script.

This is my first review here, I hope to not be stepping on any toes. If I have, please correct me so I might do better next time. Overall your wireguard startup mechanism looks good and my suggestions are strictly cosmetic in nature. I would not be at all disappointed if this patch were committed unaltered.

Oct 16 2023, 1:00 AM · manpages, rc, network

Oct 14 2023

grahamperrin added a comment to D32128: Add support for sysctl.conf.d.

Follow-up to discussion in IRC,

Oct 14 2023, 11:54 PM · rc
antranigv_freebsd.am closed D32128: Add support for sysctl.conf.d.

This has landed in 5ac2a874d070, closing it.

Oct 14 2023, 3:12 PM · rc