[Bug 339036] New: Yast adds extra ';' in named.conf
https://bugzilla.novell.com/show_bug.cgi?id=339036 Summary: Yast adds extra ';' in named.conf Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: axel.braun@gmx.de QAContact: jsrain@novell.com Found By: --- I have an updater key defined in named.conf, like: key "DHCP_UPDATER" { algorithm "hmac-md5"; secret "...."; }; After having configured the DNS server with yast2, it looks like key "DHCP_UPDATER" { algorithm "hmac-md5"; secret "...."; };; which then ends up in an error stating BIND It would be great if you could provide an easy way to setup DDNS with yast. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339036#c1 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |axel.braun@gmx.de --- Comment #1 from Cyril Hrubis <chrubis@novell.com> 2007-11-05 06:50:33 MST --- Please attach y2logs. If you are in doubt follow: http://en.opensuse.org/Bugs/YaST Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339036#c2 Axel Braun <axel.braun@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|axel.braun@gmx.de | --- Comment #2 from Axel Braun <axel.braun@gmx.de> 2007-11-08 15:30:08 MST --- Created an attachment (id=182727) --> (https://bugzilla.novell.com/attachment.cgi?id=182727) y2logs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339036 Martin Mrazik <mmrazik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |locilka@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339036 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339036#c3 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Lukas Ocilka <locilka@novell.com> 2007-11-14 06:03:45 MST --- I've found that. YaST parser for named.conf wasn't prepared for key-definitions written inside. It works with keys in a separate file. To hot-fix it: Edit file /usr/share/YaST2/scrconf/dns_named.scr Index: dns_named.scr =================================================================== --- dns_named.scr (revision 42021) +++ dns_named.scr (working copy) @@ -34,7 +34,7 @@ "sections" : [ $[ // "begin" : [ "[ \t]*([^ \t]+(.*[^ \t]+)*)[ \t]*\\{$", "%s {" ], - "begin" : [ "[ \t]*((options|view|zone|logging)+(.*[^ \t]+)*)[ \t]*\\{$", "%s {" ], + "begin" : [ "[ \t]*((options|view|zone|logging|key)+(.*[^ \t]+)*)[ \t]*\\{$", "%s {" ], "end" : [ "^[ \t]*\\}[ \t]*;", "};" ], ], ], And/or include a key file instead of inserting it into named.conf :) --- file: /etc/named.d/key-1 --- key SomeID { algorithm hmac-md5; secret "........"; }; --- file: /etc/named.d/key-1 --- --- file: /etc/sysconfig/named --- .. NAMED_CONF_INCLUDE_FILES="/etc/named.d/key-1" .. --- file: /etc/sysconfig/named --- --- file: /etc/named.conf --- .. zone "example.com" in { allow-transfer { any; }; file "dyn/example.com"; type master; allow-update { key SomeID; }; }; .. --- file: /etc/named.conf --- Will be fixed in yast2-dns-server 2.16.0 (FACTORY) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com