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

Enabling systemd loses access to Linux filesystems in WSL from Explorer #9013

Closed
1 of 2 tasks
RotoDhoulmagus opened this issue Oct 13, 2022 · 3 comments
Closed
1 of 2 tasks

Comments

@RotoDhoulmagus
Copy link

Version

10.0.22621.674

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.68.1-microsoft-standard-WSL2

Distro Version

openSUSE-Tumbleweed 20221008

Other Software

No response

Repro Steps

  1. Enable systemd as in https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/

  2. Mount the disk as in https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/

  3. The filesystem is accessible in WSL, but not in Windows Explorer.

Expected Behavior

The filesystem is accessible from the Explorer.
It worked all along until systemd is enabled, and it becomes accessible from the Explorer again once I disable systemd.

Actual Behavior

The filesystem is not accessible from the Explorer.

Diagnostic Logs

No response

@exitdown
Copy link

interesting. i wonder if this is related to my bug #9029

I can still access the filesystems from windows. so perhaps i could try to remove access to them to see if it solves my issue (albiet without access to the filesystems)

@exitdown
Copy link

ok so i am unable to unmount my dir, it used to be wsl1, i converted to wsl2 ages ago.

are you able to perform the below commands on your system so we can compare?

PS C:\Users\vinny\Desktop> reg query HKLM\SYSTEM\CurrentControlSet\Control\NetworkProvider /s

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\HwOrder
ProviderOrder REG_SZ RDPNP,P9NP,LanmanWorkstation,webclient

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order
ProviderOrder REG_SZ RDPNP,P9NP,LanmanWorkstation,webclient

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\ProviderOrder
LanmanWorkstation REG_DWORD 0x7d0
P9NP REG_DWORD 0x1f4
RDPNP REG_DWORD 0x3e8
webclient REG_DWORD 0xbb8

PS C:\Users\vinny\Desktop> wmic diskdrive list brief
Caption DeviceID Model Partitions Size
KBG40ZNS256G BG4A KIOXIA \.\PHYSICALDRIVE0 KBG40ZNS256G BG4A KIOXIA 3 256052966400

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

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

2 participants