I've run "immudb service install" on a fresh CentOS, but the installation fails, with the error:
Error: exec: "addgroup": executable file not found in $PATH
What you expected to happen
The command should have created a system service for immudb. It is evident that the group creation is relying on "addgroup" which is only present in debian-based distros.
How to reproduce it (as minimally and precisely as possible)
It's easy, just launch immudb service install on a centos or red hat box.
Environment
immudb 0.8.0
Commit : 628151a2ef58c86400350da85dec3edf3a4f03f8
Built by: cleaversdev@gmail.com
Built at: Tue, 15 Sep 2020 15:03:52 CEST
Additional info (any other context about the problem)
The fix should be trivial, just switch from addgroup to groupadd, which is present in all distros
What happened
I've run "immudb service install" on a fresh CentOS, but the installation fails, with the error:
Error: exec: "addgroup": executable file not found in $PATH
What you expected to happen The command should have created a system service for immudb. It is evident that the group creation is relying on "addgroup" which is only present in debian-based distros.
How to reproduce it (as minimally and precisely as possible) It's easy, just launch immudb service install on a centos or red hat box.
Environment
Additional info (any other context about the problem) The fix should be trivial, just switch from
addgroup
togroupadd
, which is present in all distros