[Top][All Lists]

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

Re: [gpsd-dev] gpsd/ntpd

From: Hal Murray
Subject: Re: [gpsd-dev] gpsd/ntpd
Date: Fri, 29 Jul 2016 13:28:33 -0700

address@hidden said:
> If that is his problem, it is a common one.  Some dhcp clients insist on
> changing ntp.conf on every reboot.  Simple fix, stifle the dhcp client, or
> make the ntp.conf file immutable. 

We should collect the places where DHCP screws things up and document it 

A variation on reboot is a laptop recovering from lid-closed.

The details probably vary with OS/distro.

I have a note that references:
I think that's on Debian

I'm pretty sure I've inserted an "exit" near the top of something like that.

Another note references /var/lib/ntp/ntp.conf.dhcp
There is code (on Debian) from /etc/init.d/ntp
  if [ -e /var/lib/ntp/ntp.conf.dhcp ]; then
          NTPD_OPTS="$NTPD_OPTS -c /var/lib/ntp/ntp.conf.dhcp"

So you either have to comment that out or arrange it so that file doesn't get 

These are my opinions.  I hate spam.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]