Page MenuHomeDevCentral

Handle .geoipupdate lock file
ClosedPublic

Authored by dereckson on Mar 16 2023, 19:14.
Tags
None
Referenced Files
F21121721: D2902.diff
Fri, Jan 16, 04:21
F21117155: D2902.id7396.diff
Thu, Jan 15, 17:39
F21111716: D2902.id7397.diff
Thu, Jan 15, 14:43
Unknown Object (File)
Wed, Jan 14, 01:50
Unknown Object (File)
Mon, Jan 12, 07:58
Unknown Object (File)
Fri, Jan 2, 22:57
Unknown Object (File)
Fri, Jan 2, 13:37
Unknown Object (File)
Tue, Dec 30, 09:34
Subscribers
None

Details

Summary

The geoipupdate client creates a lockfile to avoid race conditions.

Drawbacks of the current method is:

  • no lock file created at first run
  • can be confusing to see it afterwards

To address both those concerns, the wrapper creates and deletes
this lock file before and after the container run.

Reference: https://github.com/maxmind/geoipupdate-legacy/issues/79

Test Plan

Tested on docker-002

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 16 2023, 19:15
This revision was automatically updated to reflect the committed changes.