[ntp:questions] Arcron DCF77 ref clock driver: problem with timezone and UTC

Brad Knowles brad at stop.mail-abuse.org
Mon Mar 21 11:49:11 UTC 2005


At 12:28 PM +0100 2005-03-21, Eric Voisard wrote:

>  What I can see is that this offset is around 3600 seconds, what corresponds
>  to GMT+1, the local shift in my country...
>
>  However, the computer is set to work in GMT time. The /etc/TIMEZONE file is
>  set accordingly and the "date" and "date -u" commands give same time, so
>  it's ok.

	NTP always works in UTC.  Regardless of whether it's a refclock 
itself, or a refclock-less server, it always works in UTC.  So, your 
timezone settings have absolutely no impact whatsoever on the 
operation of ntpd.

	If the timezone did come into play, then the system should refuse 
to work at all (since your timezone never changes, only the time 
within that zone), as opposed to starting up okay and then failing 
later.


	You've got something else going on.  Maybe some other command 
mucking about with the date/time settings or something.

-- 
Brad Knowles, <brad at stop.mail-abuse.org>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.



More information about the questions mailing list