[Bug 215984] sysrc(8) mishandles variable names containing a dash (-)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 12 03:48:31 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215984
Bug ID: 215984
Summary: sysrc(8) mishandles variable names containing a dash
(-)
Product: Base System
Version: 11.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: telxoids at gmail.com
Presumably similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187461.
Discovered when using Ansible, but it does not appear to be related. Using
sysrc to update rc.conf. sysrc(8) seems to unable properly deal with adding
variables like forked-daapd_enable to /etc/rc.conf, and adds the lines every
time it is called.
Have a workaround via Ansible using 'lineinfile' module or manual updates.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list