Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 21:38:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        rc@FreeBSD.org
Subject:   [Bug 230621] rc.subr wrong override for $command
Message-ID:  <bug-230621-20181-LeDySHCkx7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230621-20181@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230621-20181@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230621

Jilles Tjoelker <jilles@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles@FreeBSD.org

--- Comment #1 from Jilles Tjoelker <jilles@FreeBSD.org> ---
There is nothing that sets $name; each rc.d script must set it itself. To m=
atch
documentation (rc.conf(5)) that states that shell variables can be set such=
 as
=E2=9F=A8name=E2=9F=A9_nice, the name itself needs to be a valid shell vari=
able name.

So if an rc.d script sets name to a literal, it must be a valid shell varia=
ble
name. If a script can be linked to multiple names for multiple instances of=
 a
service, this translates to a requirement on the administrator about which
names they can use. Sanitization here may as well make things more confusin=
g.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230621-20181-LeDySHCkx7>