Run panel-api with reudy's primary group #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-service-primary-group"
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?
Deploys fail again, this time with:
newuidmaponly maps IDs for a process whose uid and gid match the calling user's passwd entry. The unit setGroup = panelroutes(992), but reudy's primary group isusers(100), so it refuses.It worked after #4 only while a podman pause process from a login shell still held reudy's rootless user namespace; once that went away (e.g. after a reboot) the panel had to create the namespace itself and hit this.
panelroutesis only needed to write the Caddy routes file, whichpanelctlalready does with an explicitinstall -g "$PANEL_GROUP". That works with a supplementary group, so this swapsGroupforSupplementaryGroups.Not built locally (no Nix on the dev box). After merging, on the server:
Then redeploy from the panel, and check a route change still reaches Caddy (
ls -l /var/lib/containers/routes/should still show grouppanelroutes).🤖 Generated with Claude Code
https://claude.ai/code/session_018s1T5e2bQY6WrX4JeEyEPM