Bug 406829

Summary: DNS Server GUI Fails
Product: [openSUSE] openSUSE 11.0 Reporter: Darcy Morrissette <radioactive73>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: forgotten_h13THG8RK1, jb, vuntz
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 11.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Darcy Morrissette 2008-07-07 16:04:28 UTC
Using the default DNS Server GUI utility found in the YAST Control Center it crashed after editing a DNS zone. Initially the GUI will come up after clicking Edit on one of the zones but after clicking any of the available tabs and xmessage error comes up that reads:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
YaST got signal 6 at YCP file dns-server/dialog-masterzone.ycp:282
/sbin/yast2: line 421: 7092 Aborted                 $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

I discovered this while trying to setup a DNS server, I wanted to add A Host records and CNAME records.
Comment 1 Joel Blackthorne 2008-07-16 03:37:18 UTC
I can confirm the above Yast DNS Server configuration crashes on 3 other servers.  Plus, I see an additional post in the forum.  The error specifically occurs on the "Zone Editor" screen when any tab at all is clicked.  I attempted various procedures, such as saving the zone, closing, and then coming back to edit it later.  No procedure change I could find would work around the crash.

Best Regards
Comment 2 Joel Blackthorne 2008-07-16 12:35:53 UTC
I found a work-around to the Yast DNS Server configuration bug. The bug occurs when the Yast tools tries to pass a TSIG key array to the Zone Editor panel. If there are no TSIG keys, the array is null and causes a crash. Thus, to work-around this issue, simple create at last one TSIG key before attempting to edit zones. Once a TSIG key exist, all tool features work fine.

Regards.
Comment 3 Vincent Untz 2008-07-22 18:17:56 UTC
Reassigning to the yast team.
Comment 4 Forgotten User h13THG8RK1 2008-07-22 23:26:00 UTC
(insert  here bug 404865, comment 5. ;))

*** This bug has been marked as a duplicate of bug 404865 ***