[Bug 261049] sysrc fails when trying to set variables containing a dot

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 09 Jan 2022 22:53:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261049

Stefan B. <sblachmann@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Works As Intended

--- Comment #4 from Stefan B. <sblachmann@gmail.com> ---
Thank you Andriy for your hint!

For my part, it is no problem, as I have already updated my perl-based
installer script interpreter to use an internal handler for sysrc script
commands that can handle names with dots etc also, instead of actually calling
sysrc.

Just FYI, in the FreeBSD forums sysrc often is being recommended to use when
configuration files are to be modified, not limited to rc files.

So I understand this actually is *bad* practice, which rather should be
*disencouraged*.

Maybe it then might be a good idea to add an according warning in the manual
page against "abusing" sysrc for things it was not explicitly designed for.

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