Page MenuHomeDevCentral

Handle .geoipupdate lock file
ClosedPublic

Authored by dereckson on Mar 16 2023, 19:14.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 22, 11:07
Unknown Object (File)
Sat, Jul 19, 19:21
Unknown Object (File)
Mon, Jul 14, 04:48
Unknown Object (File)
Thu, Jul 10, 18:36
Unknown Object (File)
Tue, Jul 8, 02:39
Unknown Object (File)
Sat, Jun 28, 14:04
Unknown Object (File)
Fri, Jun 27, 20:34
Unknown Object (File)
Jun 19 2025, 22:59
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.