Skip to content

AL2023 moving /latest/ mirrorlists accumulate immutable GUID mirrors and eventually hit MAX_MIRRORS #858

Description

@sr-rossanderson

Amazon Linux 2023 repository discovery uses a moving mirrorlist such as:

/core/mirrors/latest/x86_64/mirror.list

That resolves to an immutable repository under a GUID path. When AWS advances the AL2023 release, /latest/ points to a new GUID.

Patchman retains older discovered GUID mirrors. Over time these accumulate and can eventually reach MAX_MIRRORS, preventing the current GUID from being added.

Expected behaviour:

For a moving parent mirrorlist, previously discovered immutable child mirrors should be superseded, expired, or excluded from the generic mirror-count limit.

Possible approaches:

  • mark previous child mirrors from the same moving mirrorlist as refresh=False
  • maintain parent/child mirror provenance
  • remove obsolete generated children
  • exclude superseded generated mirrors from MAX_MIRRORS

Impact:

Patchman can silently stop following the latest Amazon Linux 2023 repository metadata and report outdated package/update information.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions