-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Unable to interact with systemd via root #127
Comments
Can you give me the output of both |
|
You aren't inside the bottle, otherwise there's be an INSIDE_GENIE environment variable present. There's no guarantee anything will work from outside it. Try again from inside the bottle, and it should work. |
I ended-up setting the readiness timeout to 5 seconds in |
I'm having the same issue as #122 and #110, but can't execute any
systemctl
commands usingsudo
(or switching to root), and just get the following response:Non-sudo systemctl query commands run fine (non-query commands fail as expected).
The only other help on the matter I've seen is someone using another method alltogether to set up systemd: https://superuser.com/questions/1509703/connection-reset-by-peer-on-systemctl-as-root which seems to recommend using this script to hack Ubuntu into making systemd work: https://github.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/ubuntu-wsl2-systemd-script.sh though it mentions nothing about fixing root issues specifically.
Running genie 1.35 and Ubuntu 20.04.2
Any ideas?
The text was updated successfully, but these errors were encountered: