Skip to content

Correct Which Image Variant Uses the Entrypoint and the s6 Service Tree #684

Open

Description

@ptr727

Problem

ARCHITECTURE.md describes the s6-overlay service tree under Docker/s6-overlay and Docker/entrypoint.sh as common to both image variants. They are not. Only the standard Dockerfiles copy entrypoint.sh and set it as ENTRYPOINT. Only the -LSIO Dockerfiles copy the s6-overlay tree, and s6 supervises the daemon there. download.sh is the only one of the three that both variants use.

So a reader works from the wrong model of which process receives the container's stop signal in each variant. In the standard image, Docker signals entrypoint.sh as PID 1, which execs into mediaserver. In the LSIO image, s6-supervise signals the svc-nx-* run scripts.

Found by

A local strict review of the hub resync branch resync-instruction-set-1112. This text predates that branch, and the branch does not change it.

Done when

  • ARCHITECTURE.md says which variant uses entrypoint.sh and which uses the s6-overlay tree, and names download.sh as the script both share.

🤖 Generated with Claude Code

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