[Bug 256148] [patch] rc.subr handling of ${name}_oomprotect for services with multiple processes

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 May 2022 13:41:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256148

--- Comment #2 from Mike Walker <mwalker@carbonhouse.com> ---
(In reply to Jamie Landeg-Jones from comment #1)

Hi Jamie,

Thanks for the update! I filed this a year ago and was literally in the process
of adding a comment asking for an update at the exact minute you just posted
this. Wild.

Though I've verified that the `eval $_pidcmd` way of doing it still only runs
protect against the process identified by the pidfile, and not any other
processes it has *already* forked.

Can we tweak the way CURRENT is using it take advantage of protect's -d flag?
That fixes the issue for me.

I've attached a revised diff.

-- 
You are receiving this mail because:
You are the assignee for the bug.