Fabien COUTANT wrote:
On Monday, 27 November 2006, you (Simon Kelley) wrote:
If that is the case, then adding
sleep 1
or possibly
sleep 2
to /etc/resolvconf/update.d/dnsmasq should fix the problem. Could you
try that? If it works it's a good fix which is easy to apply.
That's more or less what I've finally done a few days ago. Actually I was
fed up with that [EMAIL PROTECTED] pppd bug, so I added a "-delayipup" script to
ppp/ip-up.d, to just execute "sleep 1" before any other script.
Guess what: no more DNS update problems (and no problems any more with
other scripts too). It now works 100% of time.
I'm not sure about it, but there may be no bug at all after all. This may
be just another consequence of pppd's "start ip-up scripts ahead of time"
bug, because it writes DNS entries at the same time dnsmasq/resolvconf
reads them.
Sorry for bothering you with this, you can close it.
Thanks a lot for your help.
No problem. I'll add the sleep to the resolvconf script, that should
protect against any similar situations.
Cheers,
Simon.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]