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
F164288732: D58391.id182668.diff
Thu, Jul 30, 10:37 AM
F164286324: D58391.id.diff
Thu, Jul 30, 9:59 AM
F164284605: D58391.id182546.diff
Thu, Jul 30, 9:33 AM
F164277024: D58391.id182668.diff
Thu, Jul 30, 7:38 AM
F164276828: D58391.id182668.diff
Thu, Jul 30, 7:35 AM
F164276337: D58391.id182440.diff
Thu, Jul 30, 7:26 AM
F164275949: D58391.id182440.diff
Thu, Jul 30, 7:20 AM
F164258961: D58391.id182546.diff
Thu, Jul 30, 4:29 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75000
Build 71883: arc lint + arc unit

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.