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

failures in initdb are not reported #13

Open
danbornside opened this issue Jun 5, 2018 · 0 comments
Open

failures in initdb are not reported #13

danbornside opened this issue Jun 5, 2018 · 0 comments

Comments

@danbornside
Copy link
Contributor

While trying to create a db instance in docker, Initdb fails with the following error, which is silently swollowed by the use of runInteractiveProcess and discarding the handle for stderr.

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

["gargoyle-postgresql::Gargoyle.PostgreSQL(initLocalPostgres)","/nix/store/phf8zhbbvfar40fz3jdbfxq9bg5l6hvp-postgresql-9.5.9/bin/initdb","db/work"]
backend: ExitFailure 1
CallStack (from HasCallStack):

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