[rancid] cvs time in UTC
heasley
heas at shrubbery.net
Wed Feb 3 21:21:23 UTC 2016
Wed, Feb 03, 2016 at 04:09:33PM -0300, Ignacio Freyre:
> Hi heasley, the timezone is configured properly.
> Still, rancid logs show the correct time, but cvs doesn't.
> I have configured the TZ environment variable but that didn't change anything.
>
>
> Rancid log from running 'rancid-run': starting: Wed Feb 3 16:05:55 UYT 2016
> CVS root:
> 1.22
> date 2016.02.03.19.06.01; author rancid; state Exp;
> branches;
> next 1.21;
> commitid 10056B24F996FB6D309;
i've confused this with svn. cvs does not do tz translation except for
the history command, afaict from the cvs manpage.
> rancid at bckp-server:~$ timedatectl
> Local time: Wed 2016-02-03 15:34:16 UYT
> Universal time: Wed 2016-02-03 18:34:16 UTC
> Timezone: America/Montevideo (UYT, -0300)
> NTP enabled: yes
> NTP synchronized: yes
> RTC in local TZ: no
> DST active: n/a
>
>
> ----- Mensaje original -----
> De: "heasley" <heas at shrubbery.net>
> Para: "Ignacio Freyre" <nachofw at vera.com.uy>
> CC: rancid-discuss at shrubbery.net
> Enviados: Miércoles, 3 de Febrero 2016 14:29:26
> Asunto: Re: [rancid] cvs time in UTC
>
> Wed, Feb 03, 2016 at 01:36:23PM -0300, Ignacio Freyre:
> > Hi, i noticed cvs stores time info in UTC time. Is there a way to change to the system time which uses gmt?
> > In this example the actual system time was 9:41:39, but cvs stored the time as 12:41:39, i got the email with the diff but the time is wrong.
> >
>
> It uses the system timezone by default. you can change the global system
> timezone (do not ask this list how to do that) or in your rancid.conf
> and/or shell dot files often by setting the TZ environment variable (again,
> do not ask here about how to do that - google or ask a list associated with
> your O/S).
More information about the Rancid-discuss
mailing list