Page MenuHomeFreeBSD
Feed Advanced Search

Tue, Dec 3

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

Thu, Nov 28

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

Tue, Nov 26

tijl added a project to D47757: rc.d/sendmail: Fix error with some configurations: rc.
Tue, Nov 26, 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

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