Replies: 7 comments
-
Thanks for the report. IMHO, The immediate fix would be to have immuos layer use However, I wonder if we can get out of the user management business completely.
|
Beta Was this translation helpful? Give feedback.
-
@dmacvicar AFAIK running immudb as a service in MacOS never worked. It was assumed no one runs production servers on MacOS, hence the feature is not really needed. Your suggestions sound good for me, although for Windows we still need to define and decide the approach. |
Beta Was this translation helpful? Give feedback.
-
I agree with @dmacvicar & @padurean . We almost never use MacOS for production, it is most likely ubuntu or linux I guess. But we developers might want to setup development environment just like production so that we can consider potential issues might occur when deploying in cloud virtual machine. |
Beta Was this translation helpful? Give feedback.
-
It will be easy to fix. https://github.com/codenotary/immudb/tree/master/cmd/sservice is os/customizable . |
Beta Was this translation helpful? Give feedback.
-
yep and then https://github.com/codenotary/immudb/tree/master/cmd/immudb/command/service/config |
Beta Was this translation helpful? Give feedback.
-
fwiw, just added a service to Homebrew, so users can do: brew install immudb
brew services start immudb |
Beta Was this translation helpful? Give feedback.
-
thanks a lot @ankane! |
Beta Was this translation helpful? Give feedback.
-
What happened
I want to run immudb as a service on macOS 11.2.3, I am following official docs It is failing when I run
immudb service install
in terminal. Below is the log:As far as I understand it is trying to use linux command
groupadd
but that doesnot exists in mac due to security reasons.What you expected to happen
It was expected to be installed without issues, it could perhaps use currently logged in user instead of trying to run
groupadd
How to reproduce it (as minimally and precisely as possible)
Run
sudo immudb service install
in macOS after setting immudb path in.bashrc
or.zshrc
Environment
Beta Was this translation helpful? Give feedback.
All reactions