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,
-- 
Petter Reinholdtsen



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

Reply via email to