Skip to content

in_container exec fails with 'unable to find user user' after repeated config/start cycles, while the container serves #60

Open

Description

@aitrawog

Finding (RCA, R1)

After a few charly config → charly start cycles on the same pod deploy, every
in_container check step fails with

Error: unable to find user user: no matching entries in passwd file

while the container itself is healthy (charly status says running; the service answers
HTTP 200; charly service status <deploy> also fails with the same error).

Mechanism. The exec path resolves the image's User=user for the container, and after the
quadlet was rewritten (a newer Image= than the running container) that lookup fails. The
container keeps serving, so the image's /etc/passwd is fine — the resolution is reading a
different image/container pairing than the running one.

Missed control. No step reconciles the running container with the quadlet after config
rewrites Image=, and the failure surfaces only at exec time, not at start.

Blast radius. Any live verification of a re-configured pod deploy (check live,
charly service status, charly cmd) fails wholesale — 23/27 steps failed in the measured run
with this single error — while the service is actually up. That makes the deployment look
broken and the check result untrustworthy.

Root fix (proposal). Resolve the exec user from the RUNNING container's image (or refuse
start when the quadlet's image differs from the running one, telling the operator to
charly restart/remove+start).

Evidence

Measured 2026-11-14/15 on owui-qdrant-proof; the same deploy worked before the extra
config cycles (25 passed, 0 failed) and failed after (2 passed, 23 failed, all with the
passwd error).

charly agent, session owui-qdrant

Activity

  1. added
    category:delivery
    type:fix
    on Nov 23, 2026
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

    category:deliverytype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions