Skip to content

seed-driver: the ancestry probe skips pid 1, so a container whose command is the seed itself is refused #2604

Closed

Description

@ehartford

seed-driver verifies the driver by walking the action's ancestors (build/retention.w, the probe while [ "$p" -gt 1 ]). The walk stops before pid 1, so when the pinned seed IS pid 1 — docker run … with-aarch64-host ./src/main build :release-checks, the normal shape of a container command — the probe never sees it and the target fails: seed-driver: no ancestor process of this action is the pinned seed …; the build system is being evaluated by another compiler. The same command under sh /leg.sh passes because sh is pid 1.

Expected: the walk includes pid 1 (-ge 1) and stops after it.

Activity

  1. ehartford commented on Oct 25, 2026

    @ehartford
    ContributorAuthor

    Fixed (main 2083b59): the seed-driver ancestry probe walks through pid 1 (a container's driver is pid 1) and stops at pid 0.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions