Run panel-api with reudy's primary group
Deploys failed with "newuidmap: Target process is owned by a different user: ... gid:992 pw_gid:100". newuidmap only maps for a process whose gid matches the user's passwd entry, and the unit forced Group=panelroutes. It only worked while a podman pause process from a login shell still held reudy's user namespace. panelroutes is only needed to write the Caddy routes file, which panelctl does with an explicit `install -g`; a supplementary group is enough for that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018s1T5e2bQY6WrX4JeEyEPM
This commit is contained in:
parent
a95c06f009
commit
bc3244a022
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ in
|
|||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
SupplementaryGroups = [ cfg.group ];
|
||||
Restart = "always";
|
||||
RestartSec = 3;
|
||||
WorkingDirectory = cfg.baseDir;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue