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

Fail more gracefully when systemd is not running/PID 1 #113

Open
sirredbeard opened this issue Jan 12, 2021 · 0 comments
Open

Fail more gracefully when systemd is not running/PID 1 #113

sirredbeard opened this issue Jan 12, 2021 · 0 comments

Comments

@sirredbeard
Copy link
Contributor

/tmp/platform9-install-debian.sh requires systemd running as PID 1.

Provisioning on an instance without systemd or systemd as PID 1 does not fail until the certless-packages.yml task in pf9-hostagent role is executed.

Even then it requires the user to go read ~/pf9/log/..., go untar /tmp/platform9-log-bundle.tar.gz, and read that log.

I would suggest checking for systemd running as PID1 earlier in the provisioning process, in the common tasks, with a more descriptive error message if systemd is not running as PID 1.

This affects WSL as well as some Linux distros and container platforms that do not support systemd by default.

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

No branches or pull requests

1 participant