Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jan 2022 02:43:14 +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@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 261049
           Summary: sysrc fails when trying to set variables containing a
                    dot
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: sblachmann@gmail.com

sysrc(8) fails when trying to set variables containing a dot.

In particular, I need to set vfs.usermount=3D1 in /etc/sysctl.conf.

sysrc refuses to do this, putting out this:
sysrc: vfs.usermount: name contains characters not allowed in shell

Putting into ticks 'vfs.usermount=3D1' does not help.

Any chance that sysrc can be fixed?
Or is it recommendable that I have my script itself change /etc/sysctl.conf?

--=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-261049-227>