[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: ntpdate: Can't find host 0.debian.pool.ntp.org
From:       Amit <amit.uttam () gmail ! com>
Date:       2014-04-18 17:03:55
Message-ID: loom.20140418T185045-868 () post ! gmane ! org
[Download RAW message or body]

staticsafe <me <at> staticsafe.ca> writes:

> 
> On 4/17/2014 20:43, Amit wrote:
> > Name or service not known (-2)
> 
> Sounds like you have/had DNS issues. Perhaps the resolver(s) in
> /etc/resolv.conf were unresponsive?
> 

Thanks.

I think I may have found the issue. ntpdate is being called twice.

First, it is called by if-up.d hook. At this point, the network
interface is up but no ip address.

Second, it is called from dhclient-exit-hooks.d/. By this time, it has
already acquired an ip address.

I guess I should remove the hook from if-up.d.


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: https://lists.debian.org/loom.20140418T185045-868@post.gmane.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic