Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run spilo without root group for postgres user #1010

Open
seekermarcel opened this issue Aug 7, 2024 · 0 comments
Open

run spilo without root group for postgres user #1010

seekermarcel opened this issue Aug 7, 2024 · 0 comments

Comments

@seekermarcel
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant