Bug 5435 - ypbind started before pcmcia
Summary: ypbind started before pcmcia
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ypbind
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
URL:
Whiteboard:
: 4229 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-09-29 15:19 UTC by gerald
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-02-04 02:35:56 UTC
Embargoed:


Attachments (Terms of Use)

Description gerald 1999-09-29 15:19:10 UTC
ypbind is started before pcmcia. Hence network (eth) is
not available and communication with the server will fail
at bootup.

Comment 1 David Lawrence 1999-09-29 17:10:59 UTC
This should still work because ypbind will keep trying to bind to a
NIS server even after failing the first time. Does it never connect at
all?

Comment 2 m.reid 1999-09-29 20:52:59 UTC
Though the standard setup still worked on my laptop, it is very
annoying to have [Failed] messages when the network attempts to start,
and changing the pcmcia link to occur before the network gives better
diagnotic messages about what the ethernet/modem card is, etc, etc, so
I hope that this will be fixed.

Comment 3 Bill Nottingham 1999-10-26 20:51:59 UTC
*** Bug 4229 has been marked as a duplicate of this bug. ***

Ypbind won't bind before a few minutes after startup with
pcmcia starting at /etc/rc.d/init.d/S45pcmcia.  This is
because there is no way to bind if a pcmcia network card is
the only interface and ypbind is starting at S13.  In
keeping with convention, the kill for pcmcia is listed as
S96pcmcia.  As most kill/start combinations add to 100, the
S45pcmcia links in /etc/rc.d/rc3.d rc4.d and rc5.d should
all be changed to S04pcmcia.  When ypbind runs it
will bind immediatly, allowing for logins from NIS passwd
maps.

Comment 4 David Hinds 2000-01-10 20:57:59 UTC
In general, you really should not rely on the order of execution of startup
scripts to ensure that a PCMCIA device is ready when some other startup event
happens.  Aside from the issue that a PCMCIA device may simply not be present at
boot time, running the PCMCIA startup script causes devices to be configured in
the background, and a card may or may not be ready when the next init script
gets control.  Some PCMCIA cards take a fair amount of time to be fully
initialized (the power-up sequence can take several seconds, transceiver
autonegotiation can take several seconds, etc).  Shuffling the order of the boot
scripts may appear to be a good fix in certain specific cases, but it really is
not a general solution.

Comment 5 Cristian Gafton 2000-02-04 02:35:59 UTC
with pcmcia we can not make sure that ypbind starts after the networking has
been initalized. Because of the way pcmcia works, the ethernet initialization is
done in background and there is not much one can do to find out when the network
is up and running.


Note You need to log in before you can comment on or make changes to this bug.