On Thu, 2010-06-17 at 23:13 +0200, Petter Reinholdtsen wrote:
> user    [email protected]
> usertag incorrect-dependency
> thanks
> 
> [Brent S. Elmer]
> > So, it doesn't look like an openafs problem since the init script has
> > been modified.  It would be nice though if I could figure out how to
> > make dnsmasq start first.  If I could figure it out, would I have to
> > change it every time openafs-client or dnsmasq is updated?
> 
> To make openafs-client start after dnsmasq, you can add dnsmasq as a
> init.d script dependency of openafs-client.  A more generic solution
> is to make init.d/openafs-client depend on $named, and make sure
> dnsmasq implement the virtual facility $named.  A quick check verifies
> that dnsmasq currently implement $named (see /etc/insserv.conf), so I
> believe adding $named to the openafs-client would work.
> 
> Try changing this line
> 
>   # Should-Start:         $syslog
> 
> to look like this
> 
>   # Should-Start:         $syslog $named
> 
> I believe that will solve your problem.
> 
> Happy hacking,

I added $named to openafs-client and that took care of the problem.  I'm
not sure why it would be in Should-Start instead of Required-Start but I
put it in Should-Start as you suggested.

Thanks,

Brent




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to