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

WSL version 2 hangup after enable systemd in Rocky Linux #11204

Closed
1 of 2 tasks
anonid64 opened this issue Feb 24, 2024 · 1 comment
Closed
1 of 2 tasks

WSL version 2 hangup after enable systemd in Rocky Linux #11204

anonid64 opened this issue Feb 24, 2024 · 1 comment

Comments

@anonid64
Copy link

anonid64 commented Feb 24, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3155]

WSL Version

2.0.14.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Rocky Linux

Other Software

Bitdefender Total Security (but i try uninstall it and try again but same error)

Repro Steps

Follow steps in https://docs.rockylinux.org/guides/interoperability/import_rocky_to_wsl/

  1. Download Rocky Linux container
  2. Import with command: wsl --import Rocky C:\WSL\Rocky Rocky-9-Container-Base.latest.x86_64.tar.xz --version 2
  3. Run wsl, it run normaly (i have only Rocky Linux distro or mean it is Default distro)
  4. In Rocky Linux WSL, add file /etc/wsl.conf with bellow content and save it:
    [boot]
    systemd=true
  5. Ctrl + D to exit WSL and run wsl --shutdown
  6. Then run wsl again and it hangup that verylong time (i never show it done)

Ubunto distro normal, but before error, i have been success start many time of Rocky Linux in WSL with systemd enabled. I try terminal, unregister and import again but it still hangup. I try sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth but it not help

Expected Behavior

image

Actual Behavior

Normaly access Rocky Linux distro after enable systemd

Diagnostic Logs

WslLogs-2024-02-24_21-19-04.zip

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

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