[Bug 215984] sysrc(8) mishandles variable names containing a dash (-)

2017-01-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215984

Mark Linimon  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|dte...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215984] sysrc(8) mishandles variable names containing a dash (-)

2017-01-11 Thread bugzilla-noreply
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@FreeBSD.org
  Reporter: telxo...@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.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"