Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 158515 Details for
Bug 246717
ypbind occasionally fails to start
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix to problem
ypbind.patch (text/plain), 931 bytes, created by
Anders Blomdell
on 2007-07-04 11:41:58 UTC
(
hide
)
Description:
Fix to problem
Filename:
MIME Type:
Creator:
Anders Blomdell
Created:
2007-07-04 11:41:58 UTC
Size:
931 bytes
patch
obsolete
>--- /tmp/ypbind 2007-07-04 13:27:26.000000000 +0200 >+++ /etc/rc.d/init.d/ypbind 2007-07-04 13:30:19.000000000 +0200 >@@ -81,19 +81,16 @@ > # the following fixes problems with the init scripts continuing > # even when we are really not bound yet to a server, and then things > # that need NIS fail. >- timeout=$NISTIMEOUT >- while [ $timeout -gt 0 ]; do >- /usr/sbin/rpcinfo -p | LC_ALL=C fgrep -q ypbind && \ >- /usr/bin/ypwhich > /dev/null 2>&1 >+ now=`date +%s` >+ endtime=`expr $now + $NISTIMEOUT` >+ while [ $endtime -gt `date +%s` ]; do >+ /usr/bin/ypwhich > /dev/null 2>&1 > RETVAL=$? > if [ $RETVAL -eq 0 ]; then > break; > fi >- echo -n "..." >- # ypwhich has a hardcode 15sec timeout >- # so subtract that from NISTIMEOUT to >- # to see of we should continue to wait >- timeout=`expr $timeout - 15` >+ echo -n "." >+ sleep 1 > done > if [ $RETVAL -eq 0 ]; then > logger -t ypbind \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246717
: 158515