Date: Wed, 3 Nov 2021 15:42:42 +0100 From: Xavier Humbert <xavier@groumpf.org> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Gitlab won't start. Error in rc file ? Message-ID: <fdd5718a-7e34-e12b-8bf2-661d80d6590b@groumpf.org> In-Reply-To: <912a208f-e147-12e5-5f53-31530ea300d0@groumpf.org> References: <912a208f-e147-12e5-5f53-31530ea300d0@groumpf.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fdd5718a-7e34-e12b-8bf2-661d80d6590b>