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

Re: [Sheflug] DHCP again



On Thursday 27 March 2003 3:33 pm, Alex Hudson wrote:
>
> Hmm, usually they're setup for you when you install the software. Are you
> sure there isn't something in /etc/init.d/ that you can just link to?
>
Yes, I have both /etc/init.d/named and /etc/init.d/dhcpd. I was aware of the 
System V convention for starting daemons but I just wasn't sure oif there was 
a fixed convention for starting the daemons or whether it was more fluid.

> Some systems have chkconfig (or something) to set these up for you, you
> might want to have a look at that stuff as well.
>
> But basically, do it as late as possible. There will be a certain order
> required - for example, you won't be able to start named or dhcpd before
> networking has started. If dhcpd updates named, then it would also be
> best to start named first. If anything depends on them to work (most
> network applications would require named to be running, for example),
> then obviously they would need to start before then too.
>
I agree entirely with your reasoning.
I found chkconfig and ran 'chkconfig named on' and 'chkconfig dhcpd on' and 
files were automagically created as /etc/init.d/rcx.d/S10named and 
/etc/init.d/rcx.d/S10dhcpd. Job done and quite painlessly really and another 
lesson learnt.

Thanks for your help again Alex.

Steve
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.