Skip to content

Postgresql complains to not run as root / redis reports no such file or directory #32

@nazunalika

Description

@nazunalika

Running this role against a RHEL 8 system, postgresql will not stay up with a message in the logs:

initdb: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.

This occurs whether or not the container user and group is set to root or a non-root user. When I pull the container using podman pull and run it by hand as the non-root user, the database inits fine and runs. It's not entirely clear if I need to configure something on this machine.

The redis container just reports:

1:C 13 Jul 2021 00:44:55.684 # Fatal error, can't open config file '/usr/local/etc/redis/redis.conf': No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions