-
Notifications
You must be signed in to change notification settings - Fork 13
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
Vagrant base box should use systemd init system (or we should stop depending on systemd) #5
Comments
This includes: * A client cert keypair #5, for use with the recoveryToken to verify that old recoveryTokens can't be re-used. * Fixes to the underlying recovery, where we were attempting to update a property on a MongoDB object that was not originally set, resulting in never actually setting a new key on the userRegistration object.
May I suggest using https://github.com/boxcutter/debian base box ?! |
https://atlas.hashicorp.com/debian/boxes/jessie64/ appears to be an official effort, and uses systemd. I'd encourage us to switch to that, and I hope to do the same for |
That sounds like a great idea to me.
I do have some micro hesitations. Actually, just one I guess!
If you want to use systemd units when starting e.g. MySQL within the
Sandstorm grain, I'm tentatively excited but worried systemd won't work in
the Sandstorm sandbox. But I definitely haven't tried it. If it _does_ work
in the Sandstorm sandbox, this is a completely great idea.
P.S. It's probably worth writing a blog post at some point about why we
can't comply with the systemd container specification.
|
We can't currently use the systemd units to start MySQL within the Sandstorm grain. But we also can't currently use the sysvinit scripts, nor upstart jobs either. What we do today is manually invoke It would be cool if someday we could punt service bringup/supervision within the grains to |
Such +1
|
Right now, the Vagrant base box uses sysvinit, but the
vagrant provision
process involves adding a systemd service.This results in sadness, since we can't really enable the service until after a reboot causes systemd to take over as PID 1.
One workaround would be to convert the systemd service into an init script. I am -0 on that, and +1 on finding a systemd-enabled Vagrant base box.
The text was updated successfully, but these errors were encountered: