Bug 737520 - kdm should wait for NIS client to bind
Summary: kdm should wait for NIS client to bind
Status: VERIFIED FIXED
Alias: None
Product: openSUSE 12.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: All SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-17 20:25 UTC by Christos Gourdoupis
Modified: 2013-07-19 11:43 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Patch for /etc/init.d/xdm (552 bytes, patch)
2011-12-17 20:25 UTC, Christos Gourdoupis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christos Gourdoupis 2011-12-17 20:25:10 UTC
Created attachment 467972 [details]
Patch for /etc/init.d/xdm

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0

On a machine which is a NIS client, the kdm greeter may appear before ypbind has connected to the master. This is most likely to happen when using Networkmanager or connecting via wifi.

Reproducible: Always

Steps to Reproduce:
1. Use Networkmanager. Or use ifup with wifi.
2. Configure machine as NIS client via Yast.
3. Edit /etc/sysconfig/displaymanager and set:
   DISPLAYMANAGER="kdm"
   KDM_USERS="@users"
   DISPLAYMANAGER_KDM_THEME=""
4. Reboot machine

Actual Results:  
The kdm greeter appears with only local users (if any) showing on the list.
Wait some time and restart kdm by means of CTRL-ALT-BACKSPACE. The user list is now full.


Expected Results:  
The user list should appear populated from the beginning.

I have added a quick patch that seems to fix the problem for me. I am not sure if it will work in all cases safely.
Comment 1 Christos Gourdoupis 2013-07-19 11:43:15 UTC
This bug has been fixed with systemd NetworkManager-wait-online.service in 12.3.
Although the fix is not perfect, I am closing.