I am trying to make gitlab to run with a different user and I wasn't able to find any place where it has this configured.
I tried this because I need to use a NIS account to running it and in fact I even removed the git local user, created one on NIS and tried to restart it like this (after fixing the ownerships due to the UID and GID changes).
STDERR: usermod: user 'git' does not exist in /etc/passwd
---- End output of ["usermod", "-g", "10032", "-s", "/bin/sh", "git"] ----
Ran ["usermod", "-g", "10032", "-s", "/bin/sh", "git"] returned 6
Full log: https://gist.github.com/ssbarnea/83b9c07678187dfe238f
It is perfectly normal for the git user not to be inside the passwd file, is a NIS user. Also, I wasn't able to find where does gitlab gets the 10032 value for the user group, why is trying to reconfigure it or how can I customise or bypass this.