Skip to content

Kernel crashes when enable systemd on wsl2 #336

@zuoxinyu

Description

@zuoxinyu

IMPORTANT
Please read README and Docs before creating the issue.

Please fill out the below information:
Describe the issue

Kernel crashes with signal segmentfault when enable systemd on wsl2. The wsl command stucks.

To Reproduce
Steps to reproduce the behavior:

  1. Enable systemd by editing /etc/wsl.conf/ ( [boo] systemd=true)
  2. wsl --shutdown
  3. wsl

Expected behavior
A clear and concise description of what you expected to happen.

Arch start normally with systemd on

Screenshots
If applicable, add screenshots to help explain your problem.
image

Enviroment:

  • Windows build number: Microsoft Windows [版本 10.0.23585.1001]
  • Security Software: Windows Defender
  • WSL version 1/2: WSL2
  • ArchWSL version [e.g. 19.3.7.0] I don't know, this instance is import from a ext4.vhdx
  • ArchWSL Installer type zip/appx/other clean/update [e.g. appx update] import from ext4.vhdx
  • Launcher version [e.g. 19030700] (Type Arch.exe version at a Command Prompt)

Additional context
Add any other context about the problem here.

I can recover arch by uninstalling Windows Subsystem for linux (the store version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions