Skip to content

rc: fix oomprotect in case multiple pids#2189

Open
rozhuk-im wants to merge 1 commit into
freebsd:mainfrom
rozhuk-im:rcsubr_fix_oomprotect
Open

rc: fix oomprotect in case multiple pids#2189
rozhuk-im wants to merge 1 commit into
freebsd:mainfrom
rozhuk-im:rcsubr_fix_oomprotect

Conversation

@rozhuk-im
Copy link
Copy Markdown
Contributor

@rozhuk-im rozhuk-im commented May 12, 2026

Before fix:

Starting chronyd.
usage: protect [-i] command
       protect [-cdi] -g pgrp | -p pid

Since:

# /usr/local/etc/rc.d/chronyd status
chronyd is running as pid 76300 76433.

protect fail with "76300 76433" as PID.

Before fix:
Starting chronyd.
usage: protect [-i] command
       protect [-cdi] -g pgrp | -p pid

Since:
# /usr/local/etc/rc.d/chronyd status
chronyd is running as pid 76300 76433.

protect fail with "76300 76433" as PID.

Signed-off-by: Rozhuk Ivan <rozhuk.im@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant