Bug 113774

Summary: unable to configure NIS master server using yast
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Martin Mrazik <mmrazik>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: kukuk
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 97395    
Attachments: yast2 logs

Description Martin Mrazik 2005-08-29 09:31:00 UTC
Using yast2-nis-server I'm unable to configure NIS master server. The yast  
"Create NIS Master Server" dialog finishes with no errors but after that the  
server is configured as a "Slave". Yast gives no error and/or information to 
the user why the server is not configured as a master.   
y2logs attached.
Comment 1 Martin Mrazik 2005-08-29 09:31:59 UTC
Created attachment 47936 [details]
yast2 logs
Comment 2 Jiří Suchomel 2005-08-29 10:33:19 UTC
What do you mean by writing "server is configured as a "Slave"". Is it really
configured that way or does yast2-nis-server say it when running again?
Comment 3 Martin Mrazik 2005-08-29 10:47:41 UTC
yast2-nis server says it after running it again.      
   
Actually how can I find out that the server is really running slave? I just   
shall test the yast2-nis-server package but the testcases (from pdb) are   
rather brief and I'm quite new to NIS.    
   
However it is still confusing because the yast says something I would not   
expect.    
     
Comment 4 Jiří Suchomel 2005-08-29 10:55:56 UTC
Thanks for info; I'll try to reproduce it (which should be easy as I remember
this as a long problem).
Comment 5 Jiří Suchomel 2005-08-29 11:07:48 UTC
could I login to your machine and do some tests?
Comment 8 Martin Mrazik 2005-08-30 06:07:19 UTC
dhcp44:~ # /usr/lib/yp/yphelper --hostname 
dhcp44.suse.cz 
dhcp44:~ # /usr/lib/yp/makedbm -u /var/yp/suse.cz/group.byname 
YP_INPUT_NAME   /etc/group 
users   users:x:100: 
nobody  nobody:x:65533: 
YP_OUTPUT_NAME  /var/yp/suse.cz/group.byname 
haldaemon       haldaemon:!:102: 
nogroup nogroup:x:65534:nobody 
YP_MASTER_NAME  dhcp44.suse.cz 
YP_LAST_MODIFIED        1125307686 
messagebus      messagebus:!:101: 
dhcp44:~ # 
 
Comment 11 Jiří Suchomel 2005-08-30 06:30:26 UTC
Thanks, now I can see the problem.

(Bow you have patched version on your machine :-))
Comment 12 Jiří Suchomel 2005-08-30 06:55:45 UTC
fixed in yast2-nis-server-2.12.3