Page MenuHomeFreeBSD

rc.subr: Fix premature return from wait_for_pids
ClosedPublic

Authored by des on Jul 22 2026, 8:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 20, 8:36 PM
Unknown Object (File)
Sun, Aug 16, 7:32 AM
Unknown Object (File)
Sun, Aug 16, 7:00 AM
Unknown Object (File)
Mon, Aug 10, 12:55 PM
Unknown Object (File)
Mon, Aug 10, 7:26 AM
Unknown Object (File)
Sat, Aug 8, 5:32 PM
Unknown Object (File)
Sat, Aug 8, 3:34 AM
Unknown Object (File)
Sat, Aug 8, 12:58 AM
Subscribers

Details

Summary

Use pwait's new -r option to wait until the target processes have not
only terminated, but also been reaped.

PR: 293183
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Jul 22 2026, 8:18 AM
markj added a subscriber: markj.

Should this have a Fixes: tag?

Maybe we should provide a backwards compat shim which checks whether the installed pwait supports -r and falls back to something else if not. I'm not sure if it's worth it.

UPDATING
34

I don't know what "fastboot" means, maybe write "use fastboot(8)" to be a bit more explicit.

This revision is now accepted and ready to land.Jul 23 2026, 4:03 PM
des marked an inline comment as done.Jul 23 2026, 4:41 PM
This revision now requires review to proceed.Jul 23 2026, 5:48 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mon, Jul 27, 10:17 AM
This revision was automatically updated to reflect the committed changes.