Re: git: bef05a753727 - main - rc.d/var_run: Fix typo in comment

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Mon, 25 Nov 2024 18:44:29 UTC
On Mon, 25 Nov 2024 15:29:43 -0300
Jose Luis Duran <jlduran@freebsd.org> wrote:

> On Mon, Nov 25, 2024 at 2:17 PM Cy Schubert <cy@freebsd.org> wrote:
> >
> > The branch main has been updated by cy:
> >
> > URL: https://cgit.FreeBSD.org/src/commit/?id=bef05a753727fa28032e1b5a895c94b2ffaedd46
> >
> > commit bef05a753727fa28032e1b5a895c94b2ffaedd46
> > Author:     Cy Schubert <cy@FreeBSD.org>
> > AuthorDate: 2024-11-25 17:10:13 +0000
> > Commit:     Cy Schubert <cy@FreeBSD.org>
> > CommitDate: 2024-11-25 17:10:13 +0000
> >
> >     rc.d/var_run: Fix typo in comment
> > ---
> >  libexec/rc/rc.d/var_run | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libexec/rc/rc.d/var_run b/libexec/rc/rc.d/var_run
> > index 0dc37698ee76..b3d3c3c5b22f 100755
> > --- a/libexec/rc/rc.d/var_run
> > +++ b/libexec/rc/rc.d/var_run
> > @@ -17,7 +17,7 @@ stop_cmd="_var_run_stop"
> >
> >  load_rc_config $name
> >
> > -# doesn't make sense to run in a svcj: config setting
> > +# doesn't make sense to run in a svc: config setting  
> 
> Hello Cy,
> I believe the original "svcj" was correct. It stands for "service
> jail" (https://www.freebsd.org/status/report-2023-04-2023-06/service-jails/).
> Perhaps it should have been fully spelled out. Anyhow, a similar line
> is present in a number of rc scripts (grep -B1 -r '_svcj="NO"').

You are correct.

Rather than spelling it out, let's leave it as is.

> 
> >  var_run_svcj="NO"
> >
> >  _var_run_load() {  
> 



-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0