Hostityourself/infra
Claude b5e6c8fcd3
Fix rootless Podman lchown EINVAL by ensuring uidmap and fresh service
Two root causes for "invalid argument" when chowning non-root UIDs/GIDs
in image layers:

1. Missing uidmap package: without setuid newuidmap/newgidmap binaries,
   Podman can only map a single UID (0 → current user) in the user
   namespace.  Any layer file owned by gid=42 (shadow) or similar then
   has no mapping and lchown returns EINVAL.  Now install uidmap if absent.

2. Stale Podman service: a service started before subuid/subgid entries
   existed silently keeps the single-UID mapping for its lifetime even
   after the entries are added and podman system migrate is run.  Now
   always kill and restart the service on each start.sh run so it always
   reads the current subuid/subgid configuration.

https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
2026-03-22 10:32:13 +00:00
..
.env.example Add session-based auth to dashboard and API 2026-03-20 13:45:16 +00:00
docker-compose.yml Fix Podman socket for rootless setup on Raspberry Pi 2026-03-21 18:08:10 +00:00
Dockerfile.server Replace Docker with Podman throughout 2026-03-20 14:58:52 +00:00
Makefile Replace Docker with Podman throughout 2026-03-20 14:58:52 +00:00
start.sh Fix rootless Podman lchown EINVAL by ensuring uidmap and fresh service 2026-03-22 10:32:13 +00:00