public inbox for gentoo-dev-announce@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev-announce] Signed push & clock drift rejection
@ 2016-07-15 18:03 Robin H. Johnson
  0 siblings, 0 replies; only message in thread
From: Robin H. Johnson @ 2016-07-15 18:03 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-dev-announce

[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]

Hi all,

In tracing down problems with the git->rsync path, it has been noticed
that some developers have significant clock drift on their local systems
(up to one case of 14 days wrong), and it's potentially contributing to
problems in generating the rsync tree.

I have implemented a check as part of the hook that validates Git push
certificates (require-signed-push). It looks for clock drift or an
overly long push, and aborts if needed.

The tolerances are presently set to:
- 5 seconds of clock drift.
- 'git push' must be completed in 60 seconds.

The two possible errors you will get during push are:
===
Your system clock is off by 119 seconds (limit 5).
Run NTP, rebase your commits as needed, and push again.
===
Try again! Your push took 80 seconds (limit 60).
===

If you do get the first error, please strongly look at running ntpd,
tlsdate or some other time keeping solution.

This applies to all Git repos that require signed pushes presently:
- data/*
- foundation/*
- infra/*
- proj/portage
- repo/gentoo
- repo/proj/gen-b0rk
(and a few more)

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Trustee & Treasurer
E-Mail   : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 445 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-15 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-15 18:03 [gentoo-dev-announce] Signed push & clock drift rejection Robin H. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox