fix(images): let become work on molecule-ubuntu2604 and add gnupg #382

Merged
Defame1297 merged 4 commits from fix/376-2604-become into main 2026-11-25 21:50:15 +00:00
4 Commits
Author SHA1 Message Date
Defame1297 87b87dbcef test(images): check become on 26.04 after the fixed image is pinned
Build / build (pull_request) Successful in 30s
Molecule / molecule (pull_request) Successful in 38s
Lint / lint (pull_request) Successful in 1m40s
The 26.04 smoke checks run against the pinned image, which gains the
fix only after this change is built and pinned; they follow with the
pin.

Assisted-by: Claude Code
2026-11-25 21:47:15 +00:00
Defame1297 efd3a550c5 fix(images): let become work on molecule-ubuntu2604 and add gnupg
Build / build (pull_request) Successful in 30s
Molecule / molecule (pull_request) Failing after 1m4s
Lint / lint (pull_request) Successful in 1m56s
In the booted 26.04 container, pam_unix's account check for sudo runs
the unix_chkpwd helper, which fails there, so become from root fails
with "account validation failure". /etc/pam.d/sudo now lets root
through with pam_rootok before common-account; a non-root caller still
goes through pam_unix. The build fails if the line does not apply.

gnupg joins the image, as in the 24.04 image: the docker and gitea
scenarios need it on the target. The temporary diagnostics are removed.

Closes #376

Assisted-by: Claude Code
2026-11-25 21:42:58 +00:00
Defame1297 5364f18728 test(images): try pam_rootok for become on 26.04 (temporary diagnostics)
Build / build (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 1m4s
Lint / lint (pull_request) Successful in 1m56s
Assisted-by: Claude Code
2026-11-25 21:32:18 +00:00
Defame1297 62ffae7764 test(images): check become in the image-smoke scenarios
Build / build (pull_request) Successful in 30s
Molecule / molecule (pull_request) Failing after 1m20s
Lint / lint (pull_request) Failing after 1m50s
Both smoke scenarios now run a become task, as every role scenario does,
so a molecule image where become fails no longer passes its own pin pull
request. The 26.04 scenario also carries temporary diagnostics for #376.

Assisted-by: Claude Code
2026-11-25 21:28:25 +00:00