[Bug 198648] resolvconf does not modify pdnsd.conf correctly

2016-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198648

Henry Hu  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|New |Closed

--- Comment #1 from Henry Hu  ---
New openresolv has been imported. The bug is fixed.

-- 
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 198648] resolvconf does not modify pdnsd.conf correctly

2015-03-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198648

Mark Linimon lini...@freebsd.org changed:

   What|Removed |Added

  Component|conf|bin

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


[Bug 198648] resolvconf does not modify pdnsd.conf correctly

2015-03-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198648

Bug ID: 198648
   Summary: resolvconf does not modify pdnsd.conf correctly
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: conf
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: henry.hu...@gmail.com

Currently, when setting pdnsd_conf in resolvconf.conf, resolvconf does not
change pdnsd.conf correctly. The result looks like this:

...
# Generated by resolvconf
server {\n\tlabel=resolvconf;\n\tip=192.168.1.1;\n}\nserver
{\n\tinclude=.lan.;\n\tpolicy=excluded;\n\tip=192.168.1.1;\n}\n# End of
resolvconf

In other words, newline should be inserted, but \n was inserted instead.
pdnsd refuses to start with this configuration.

In /usr/src/contrib/openresolv/pdnsd.in, it uses
printf %s $newconf  $cf
In the old versions of openresolv, %s was not present, and it works correctly.
In the latest version of openresolv (3.6.2), \n is not used, but $NL is used,
so it should also work. But current version in our repo was 3.4.4, which has
this problem.

Please import new version of openresolv to fix the problem.

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