Bug 615805

Summary: YaST fails to create a kerberos server configuration
Product: [openSUSE] openSUSE 11.3 Reporter: Marvin FourtyTwo <marvin24>
Component: YaST2Assignee: Ralf Haferkamp <ralf>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: jsuchome, mc, qwatli
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard: maint:released:11.3:34687
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 619548, 619549, 684475    
Attachments: log of YaST session

Description Marvin FourtyTwo 2010-06-21 07:33:47 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.3 (like Gecko) SUSE

when trying to setup an kerberos server (with new ldap database) an error box opens with:

Use of uninitialized value $value in numeric eq (==) at
        /usr/share/YaST2/modules/LdapServer.pm line 1335 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.
    
    To help you figure out what was undefined, perl will try to tell you the
    name of the variable (if any) that was undefined. In some cases it cannot
    do this, so it also tells you what operation you used the undefined value
    in.  Note, however, that perl optimizes your program and the operation
    displayed in the warning may not necessarily appear literally in your
    program.  For example, "that $foo" is usually optimized into "that "
    . $foo, and the warning will refer to the concatenation (.) operator,
    even though there is no . in your program.
    
Use of uninitialized value $hashAlgo in string eq at
        /usr/share/YaST2/modules/LdapServer.pm line 2606 (#1)
Use of uninitialized value in subroutine entry at
        /usr/lib/perl5/vendor_perl/5.12.0/x86_64-linux-thread-multi/YaST/YCP.pm line 423 (#1)
YaST got signal 6 at YCP file kerberos-server/complex.ycp:2
/sbin/yast2: line 399:  3889 Aborted                 $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

and nothing is created.


Reproducible: Always

Steps to Reproduce:
1. 
2.
3.
Comment 1 Jozef Uhliarik 2010-06-28 07:05:55 UTC
Please attach y2logs.If you're in doubt follow:http://en.opensuse.org/Bugs/YaST
Thanks.
Comment 2 Marvin FourtyTwo 2010-06-28 07:27:45 UTC
Created attachment 372025 [details]
log of YaST session

I guess the only interesting line is the last one...
Comment 3 Michael Calmer 2010-07-01 15:32:03 UTC
Hmm, seems to be in LdapServer.pm

Ralf: something for you?
Comment 4 Ralf Haferkamp 2010-07-02 13:42:05 UTC
2010-06-28 09:20:43 <3> fb07-iap-serv(22420) [Perl] YCP.cc(XS_YCP_call_ycp):152 No such symbol LdapServer::CreateInitialDefaults

Grmbl. I renamed the CreateInitialDefaults() function to ReadInitialDefault() to be more consitent with the naming used in by YaST modules. I guess I'd better rename it back ...

(AFAICS SLE11-SP1 has the same problem :( )
Comment 5 Ralf Haferkamp 2010-07-06 12:58:36 UTC
I just submitted a fixed yast2-ldap-server to Factory. There is however another issue I discover while testing the fix (see bug#619549).
I guess we need to do a maintenance update in case this won't be accepted for 11.3 anymore.
Comment 6 Ralf Haferkamp 2010-07-20 09:57:03 UTC
re-opening as the fix was too late for 11.3. It will be released via online update.
Comment 7 Ralf Haferkamp 2010-07-21 08:29:09 UTC
Fix submitted for 11.3. Request id: #43592
Comment 8 Ralf Haferkamp 2010-07-22 11:48:00 UTC
Needed to submit again: New Request ID: #43734
Comment 9 Swamp Workflow Management 2010-10-18 20:01:59 UTC
Update released for: yast2-kerberos-server, yast2-ldap-server, yast2-ldap-server-debuginfo, yast2-ldap-server-debugsource
Products:
openSUSE 11.3 (debug, i586, x86_64)
Comment 10 Ralf Haferkamp 2011-04-01 12:24:56 UTC
*** Bug 679584 has been marked as a duplicate of this bug. ***
Comment 11 Bernhard Wiedemann 2016-04-15 11:54:09 UTC
This is an autogenerated message for OBS integration:
This bug (615805) was mentioned in
https://build.opensuse.org/request/show/42654 Factory / yast2-ldap-server
https://build.opensuse.org/request/show/43734 11.3:Test / yast2-ldap-server