[Bug 142434] [patch] Add cpuset(1) support to rc.subr(8)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Dec 2021 18:32:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=142434

--- Comment #7 from Miroslav Lachman <000.fbsd@quip.cz> ---
(In reply to Kyle Evans from comment #6)
I am not sure of the detail but I know there was some problem in rc scripts or
in rc.subr routines with a dash in the value of the variable
name="background-fsck" in rc.d/bgfsck. Then it breaks execution of rc script,
cpuset call or something around. I don't remember it well.
https://cgit.freebsd.org/src/tree/etc/rc.d/bgfsck?h=stable/10
name="background-fsck"
rcvar="background_fsck"
start_cmd="bgfsck_start"

As I see in newer versions, it was renamed to name="background_fsck"
(underscore instead of dash)
https://cgit.freebsd.org/src/tree/libexec/rc/rc.d/bgfsck
name="background_fsck"
desc="Run fsck in background"
rcvar="background_fsck"
start_cmd="bgfsck_start"

I don't know if there was / is any other rc.d script with the "bad" dash in
value of variable "name".

-- 
You are receiving this mail because:
You are on the CC list for the bug.