Page MenuHomeFreeBSD

rc.subr: Fix premature return from wait_for_pids
ClosedPublic

Authored by des on Wed, Jul 22, 8:18 AM.
Tags
None
Referenced Files
F164645520: D58391.id182668.diff
Sun, Aug 2, 9:07 PM
F164617296: D58391.id.diff
Sun, Aug 2, 12:59 PM
Unknown Object (File)
Sat, Aug 1, 12:18 PM
Unknown Object (File)
Sat, Aug 1, 8:50 AM
Unknown Object (File)
Sat, Aug 1, 5:18 AM
Unknown Object (File)
Sat, Aug 1, 1:40 AM
Unknown Object (File)
Sat, Aug 1, 12:05 AM
Unknown Object (File)
Fri, Jul 31, 5:35 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.Wed, Jul 22, 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.Thu, Jul 23, 4:03 PM
des marked an inline comment as done.Thu, Jul 23, 4:41 PM
This revision now requires review to proceed.Thu, Jul 23, 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.