Bug 783447

Summary: Login prompt appears before ypbind has started
Product: [Fedora] Fedora Reporter: John Beranek <john>
Component: ypbindAssignee: Honza Horak <hhorak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: hhorak, kklic
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ypbind-1.33-11.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-01 19:27:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix the problem none

Description John Beranek 2012-01-20 13:13:33 UTC
Created attachment 556512 [details]
Patch to fix the problem

Description of problem:

Even if you enable NetworkManager-wait-online.service, the console/gdm/kdm login screen can appear before ypbind has started. This means that a NIS user will not be able to login.

Version-Release number of selected component (if applicable):

ypbind-1.33-9.fc16.x86_64

How reproducible:

Always

Steps to Reproduce:
1.Configure system for NIS, DHCP, NetworkManager-wait-online.service enabled
2.Boot the system
3.When the login screen comes up, immediately try to login as a NIS user
  
Actual results:

Login fails

Expected results:

Login works

Additional info:

Comment 1 John Beranek 2012-01-20 13:16:56 UTC
The patch contains the suggestion discussed on #systemd on IRC, and has been tested on a Fedora 16 laptop.

Comment 2 John Beranek 2012-01-20 13:18:29 UTC
Reproducibility, results etc. clearly depend on your DHCP server/network to be slow to come up.

Comment 3 Honza Horak 2012-01-20 13:31:36 UTC
Thanks for the report and the patch, I'll apply it soon.

Comment 4 Fedora Update System 2012-01-24 15:40:34 UTC
ypbind-1.33-11.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ypbind-1.33-11.fc16

Comment 5 Fedora Update System 2012-01-24 20:00:14 UTC
Package ypbind-1.33-11.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ypbind-1.33-11.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0897/ypbind-1.33-11.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-02-01 19:27:55 UTC
ypbind-1.33-11.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.