gossa/run.sh: --init-groups → --clear groups

--init-groups requires a user that can be found on the system.
This commit is contained in:
Starbeamrainbowlabs 2021-02-04 23:16:11 +00:00
parent 197fcd1a3d
commit 81d025dc2a
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -18,6 +18,6 @@ echo "[core] Running as uid = ${GOSSA_UID} gid = ${GOSSA_GID} port = ${NOMAD_POR
cd "/mnt" || { echo "Failed to cd into /mnt"; exit 1; };
setpriv --inh-caps=-all --reuid "${GOSSA_UID}" --init-groups --regid "${GOSSA_GID}" /usr/local/bin/gossa -p "${NOMAD_PORT_GOSSA}" /mnt;
setpriv --inh-caps=-all --reuid "${GOSSA_UID}" --clear-groups --regid "${GOSSA_GID}" /usr/local/bin/gossa -p "${NOMAD_PORT_GOSSA}" /mnt;
echo "[core] Ending";