Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jan 2022 22:53:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261049] sysrc fails when trying to set variables containing a dot
Message-ID:  <bug-261049-227-x3oebXUptL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261049-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=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.

home | help

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