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

Make cluido wait for ipv4 to become available #47

Merged

Conversation

perlun
Copy link
Contributor

@perlun perlun commented Aug 26, 2015

Quite simple stuff. This means that you can have cluido start before ipv4, and still have cluido be able to locate the ipv4 server - which I find nice. It would be easiest to just put cluido last in the list of things to start, but the virtual consoles seems to get a bit messed up if doing that, so let's not do it like that for now at least...

(Eventually, the boot server should be completed and the responsibility for starting up cluido should be handed over to it. I'm not 100% sure that the building blocks - be able to start ELF binaries from user processes, etc - are in place, but they should be since we do have an execute command in cluido... Worth checking out at some point, it is.)

perlun added 4 commits August 26, 2015 23:47
It would clearly be much nicer if this wasn't hardwired into the program, but rather taken dynamically, perhaps from the latest available tag for the git repo or something. This can be done, I just haven't taken time to look into it  yet.
This makes it possible for cluido to get a hold of it even though stuff may be starting in a less deterministic order. That is good, IMHO.
Right after the console service connection has been set up seems like a reasonable time for it.
perlun added a commit that referenced this pull request Aug 27, 2015
…ervers-to-become-available

Make cluido wait for ipv4 to become available
@perlun perlun merged commit d1985f1 into master Aug 27, 2015
@perlun perlun deleted the feature/make-cluido-wait-for-servers-to-become-available branch August 27, 2015 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant