Mandriva Linux Archives: cooker@mandrivalinux.org

Mandriva Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

  • From: Adam Williamson
  • Subject: Re: [Cooker] pinit startup scripts
  • Date: 16 Jan 2007 23:17:47 -0000

On Tue, 2007-01-16 at 15:02 +0100, Guillaume Rousse wrote:
> Olivier LAHAYE wrote:
> > I've developped something that has a startup script that depends on network.
> > looking at the /var/log/prcsys.log my script is correctly started after 
> > network, unfortunately, due to slow dhcp response, eventhough the network is 
> > started, I have no IP address yet when my startup scripts starts. Thus I have 
> > a temporary name lookup failure.
> > 
> > Is there a clean  way (avoiding active waiting loop) to start my script only 
> > if network is up and IP addresse is there and routes are setup?
> If you just need network, use $network facility. If you need name
> resolution, use $named facility.

So for e.g. ntpd should be requiring $named rather than $network ? It
requires name resolution to find the servers to sync with...
-- 
adamw



Date Index | Thread Index

Search the archive:



To (un)subscribe from/to the lists:

Sympa mailing lists server.





Fund the Mandriva Linux project

Looking for a job?