Skip to content

fleet walls: follow-ups from the #587/#590 lenses #594

Closed

Description

@scuttletoby

Follow-ups from the two lens reviews of #587 + #590 (both SAFE):
#590 (comment) (lens A) and
#590 (comment) (lens B). None is exploitable; each fails safe.

  1. fork-fleet-launch.sh (around 1116-1134): the ( ... ) || die around the three writes of the job's passwd, group and hosts only checks the last write. Stop at the first failed write, as the comment and the PR body say. Add the test both lenses found missing (the mutant that drops this refusal survives).
  2. ALLOW_PATHS can still name files that hold the host's account names: /etc/passwd-, /etc/group-, /etc/subuid, /etc/subgid, /var/backups. Add them (and passwd, group, hosts) to the walls' secret list.
  3. The refusal message always says "re-run the installer". When the bad entry comes from ALLOW_PATHS or a custom paths file, say to edit that file (launch.conf) instead.
  4. check-net crashes on a host whose passwd holds an old non-UTF-8 name, so its check cannot pass there. Read it as bytes or with a replacing decode.
  5. A host name with _ gets no loopback line in the job's hosts, so Java's local host lookup fails in the job.
  6. Docs: the job's account now has /bin/sh as its shell instead of the host's nologin; say so in the walls docs.

Activity

  1. added 4 commits that reference this issue on Nov 21, 2026
    fffb2ad
    e72eced
    ca423d6
    a7598a5
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