Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Dec 2021 18:46:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 142434] [patch] Add cpuset(1) support to rc.subr(8)
Message-ID:  <bug-142434-227-L8qlleYRiw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-142434-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=142434

--- Comment #8 from Miroslav Lachman <000.fbsd@quip.cz> ---
(In reply to Kyle Evans from comment #6)
I search the archives and found that I specifically asked the question about
"background-fskc" on freebsd-rc@ mailinglist prior to my first post with patch
to add cpuset support. But my question in unanswered 11 years.

https://lists.freebsd.org/pipermail/freebsd-rc/2010-January/001814.html

https://lists.freebsd.org/pipermail/freebsd-rc/2010-January/001816.html

----------- start of old post
bgfsck is the only one script using hyphen in the name and it is causing 
some problems with eval:

debug output for rc.d/bgfsck

+ eval '_chdir=$background-fsck_chdir' '_chroot=$background-fsck_chroot' 
'_nice=$background-fsck_nice' '_user=$background-fsck_user' 
'_group=$background-fsck_group' '_groups=$background-fsck_groups'
+ _chdir=-fsck_chdir _chroot=-fsck_chroot _nice=-fsck_nice 
_user=-fsck_user _group=-fsck_group _groups=-fsck_groups


debug output for rc.d/sshd

+ eval '_chdir=$sshd_chdir' '_chroot=$sshd_chroot' '_nice=$sshd_nice' 
'_user=$sshd_user' '_group=$sshd_group' '_groups=$sshd_groups'
+ _chdir='' _chroot='' _nice='' _user='' _group='' _groups=''

I think that variables should be empty in both cases. Am I wrong?
----------- end of old post

As you can see there were some "-fsck" values in paces where it should be
empty.

I think it is now fixed by renaming "background-fsck" to "background_fsck"

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-142434-227-L8qlleYRiw>