coa: coa_uid 1001 — remap the image node user; refuse a uid another account owns #5
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/matou-distributed-servers!5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "coa-uid"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pre-deploy fix found while dry-running coa#39 from Ben's laptop: on matou uid 1000 is
dev, so the role'suser: coa uid=1000would fail at useradd (check mode shows it as a clean changed).coa_uiddefaults to 1001; the node image'snodeuser/group is remapped tocoa_uidat build, so host owner and container user agree without needing 1000.getent passwd coa_uidmust be empty orcoa, else the role fails naming the account that holds the uid.Verified against matou:
--check -t coapasses the guard at 1001 and reaches the known check-mode limit (become_user before the user exists);--check -e coa_uid=1000fails at the guard with uid 1000 already belongs to dev.Refs coa#39.
coamode on matou, Caddy coa-infra.<domain>, ufw (coa phase-3 plan Task 16) #6