public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Init scripts waiting for deps in progress
@ 2007-01-07 17:10 Daniel Barkalow
  2007-01-08 10:24 ` Uwe Thiem
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Barkalow @ 2007-01-07 17:10 UTC (permalink / raw
  To: gentoo-user

I have the following set of init stuff:

 net.wireless depends on ipw3945d
 ntp-client depends on net
 net.wireless automagically starts when the interface "wireless" appears
 net.wireless is in the boot runlevel

When I boot the computer, it starts ipw3945d before net.wireless, but not 
in time for the "wireless" interface to appear before it tries to start 
net.wireless. Moments later, the interface appears, and it runs 
net.wireless again, asynchronously, and it spends a while starting up (it 
has to find the correct network, and dhcp, etc).

While net.wireless is starting up, the system synchronously starts 
ntp-client, which attempts to start net.wireless; this fails (it's already 
starting), and so ntp-client fails. Then the asynchronous net.wireless 
finishes starting, and I have network, but no ntp-client.

Is there some way to teach start-stop-daemon that, if a dependancy fails 
because it is already starting up, this means you should wait for it, not 
give up? The other stuff is a bit odd, but ultimately harmless, aside from 
the fact that stuff gets confused by this situation.

	-Daniel
*This .sig left intentionally blank*
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-08 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-07 17:10 [gentoo-user] Init scripts waiting for deps in progress Daniel Barkalow
2007-01-08 10:24 ` Uwe Thiem
2007-01-08 12:56   ` Nelson, David (ED, PAR&D)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox