Re: Gitlab won't start. Error in rc file ?

From: Xavier Humbert <xavier_at_groumpf.org>
Date: Wed, 03 Nov 2021 14:42:42 UTC
EDIT

I wrote :

> + eval su - git -c '"/usr/local/etc/rc.d/gitlab' 'start"'
> + su - git -c '/usr/local/etc/rc.d/gitlab start'
> fatal: unrecognized command '/usr/local/etc/rc.d/gitlab start'
> + exit
>
> The last fatal line led me to think of inappropriate file perms, but 
> the full path is og+rX.
> Digging further, I found that user *git* is not allowed to execute any 
> command. However, git shell *is* installed, liste in /etc/shells, and 
> id the login shell for user git
>
> Any idea before I post to oGitlab forum, which is more Linux-centric, 
> and probably won't help in this very matter ?
>
> Cheers Xavier

I read docs about git-shell, and the directory ~/git-shells-commands

Symlinking /bin/echo here now allows git to echo "hello word". Good start

Alas, linking /usr/local/etc/rc.d/gitlab won't do the job.


-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr