Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[inferno-ml] Have inferno-ml-server run as a system user #151

Open
ngua opened this issue Jan 16, 2025 · 0 comments
Open

[inferno-ml] Have inferno-ml-server run as a system user #151

ngua opened this issue Jan 16, 2025 · 0 comments
Labels
correctness Make something more correct

Comments

@ngua
Copy link
Contributor

ngua commented Jan 16, 2025

In the inferno-ml-server VM images, we have the systemd service running as the inferno user, which is a normal user. We should instead have a system user with limited privileges run this service.

@ngua ngua added the correctness Make something more correct label Jan 16, 2025
ngua added a commit that referenced this issue Jan 16, 2025
Currently `inferno-ml-server.service` runs as a systemd user service.
However, this doesn't actually work when testing the EC2 instances, as a
shell must be opened for the `inferno` user before the service starts.
We need it to start immediately after init

I've tested this with a real EC2 built using a testing image config and
it fixes the problem

NOTE: We should eventually create an `inferno-ml-server` system user to
run the service. However, for debugging and permissions purposes, it's
easier to continue to run it as `inferno` for now. I've made an issue to
fix this: #151. But
this fix is needed urgently and I don't want to hold things up fixing
that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
correctness Make something more correct
Projects
None yet
Development

No branches or pull requests

1 participant