genie icon indicating copy to clipboard operation
genie copied to clipboard

Cannot start genie propperly, "Failed to read server status".

Open sOmEoNe2lOvEgIt opened this issue 3 years ago • 6 comments

Windows version (build number): 21H2 (build 22000.832)

Linux distribution: Fedora from this tutorial: https://dev.to/bowmanjd/install-fedora-on-windows-subsystem-for-linux-wsl-4b26

Kernel version: 5.10.102.1-microsoft-standard-WSL2

Genie version: genie 2.4

Describe the bug Cannot start genie propperly, the kernel modules load but dont get "active".

Confirm that you are running inside the bottle: "inside"

To Reproduce 1- Install the provided rpm normally. 2- Start genie with "genie -i" 3- Watch as the entire world falls appart before your eyes.

Expected behavior Genie to start normally and give me access to systemd.

Screenshots image

I confirm that I have read the ENTIRE supplied readme file and checked for relevant information on the repository wiki before raising this issue, and that if the solution to this issue is found in either location, it will be closed without further comment:

  • [X] Yes.

-PS: I'm really sorry if this is irrelevent, i'm new to this and have been struggling for a while. Here, i need genie to get the ability to use systemd with docker as it is needed for my project. If you have a sugestion that would solve this and make me not have to use genie, i'm all ears!

sOmEoNe2lOvEgIt avatar Jul 31 '22 09:07 sOmEoNe2lOvEgIt

did you try: systemctl mask systemd-modules-load.service

Kirkyelise avatar Jul 31 '22 16:07 Kirkyelise

Well now that i have, genie starts up but i still get this : image

sOmEoNe2lOvEgIt avatar Jul 31 '22 17:07 sOmEoNe2lOvEgIt

What happens if you exit all instances and then perform wsl --shutdown in windows terminal/powershell. Then re-enter WSL and perform genie -s

The info about masking systemd-modules-load.service came directly from the wiki

Kirkyelise avatar Jul 31 '22 19:07 Kirkyelise

Same exact thing... image

I also tried restarting my entire laptop, nothing changes... I also tried re-installing the rpm... same thing.

sOmEoNe2lOvEgIt avatar Jul 31 '22 21:07 sOmEoNe2lOvEgIt

I'm not going to lie, mine isn't working either, but I've gotten it to work with other dist (ubuntu 20.04) not fedora, so there's something here to investigate. However, if you're trying to do something for school or work in linux, you should definitely be using a full installation llike a dual boot. WSL2 cannot substitute a full linux desktop.

Kirkyelise avatar Aug 01 '22 03:08 Kirkyelise

That "Failed to dump process list" issue is a general systemd issue under WSL these days, but doesn't stop it from working, only from displaying the status easily.

To debug further, we'll need the output of a systemctl --failed -- or just run systemctl and look for the failed unit (in red) to know what the problem is. There are a lot of possibilities, so.

cerebrate avatar Sep 23 '22 18:09 cerebrate