spilo icon indicating copy to clipboard operation
spilo copied to clipboard

run spilo without root group for postgres user

Open seekermarcel opened this issue 1 year ago • 2 comments

We want to run spilo as a non-root user. Preferably as the postgres user and group (101 and 103) so we don't have to migrate volumes.

However when we configure spilo to run in such a way, the postgres user is still part of the root group:

$ id
uid=101(postgres) gid=103(postgres) groups=103(postgres),0(root),102(ssl-cert)

We need an image where the postgres user is not part of the root group by default, or is this configurable in some other way?

Parts of the current config:

    spilo_allow_privilege_escalation: false
    spilo_fsgroup: 103
    spilo_privileged: false
    spilo_runasgroup: 103
    spilo_runasuser: 101

seekermarcel avatar Aug 07 '24 14:08 seekermarcel

something missing?

seekermarcel avatar Apr 11 '25 10:04 seekermarcel

joining, we have the same demand

ka14be avatar Sep 23 '25 08:09 ka14be