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

Ping-Socket Error on User (Wlinux Bug : #226) #12

Closed
onuralpszr opened this issue Jan 15, 2019 · 6 comments
Closed

Ping-Socket Error on User (Wlinux Bug : #226) #12

onuralpszr opened this issue Jan 15, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@onuralpszr
Copy link

Describe the bug
It was the same "bug" happened on Wlinux as well -->
WhitewaterFoundry/Pengwin#226

It just started after fresh install

image

Expected behavior
It should be ping as user too.

Screenshots

image

Basic Troubleshooting Checklist

[x] I have searched Google for the error message.
[x ] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[-] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[x] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[-] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[-] I have disabled and re-enabled WSL in Windows Features.
[-] I have run Windows 10 updates and restarted.

Fedora Remix for WSL - Version : 1.0.25.0
Windows Build

OS Name: Microsoft Windows 10 Pro Insider Preview
OS Version: 10.0.18312 N/A Build 18312

@sirredbeard
Copy link
Contributor

I re-opened that on WLinux where it will get more eyes and will backport the solution.

@sirredbeard sirredbeard added the bug Something isn't working label Jan 15, 2019
@ghost
Copy link

ghost commented Jan 24, 2019

The issue seems to be /bin/ping not having the required setuid bit, as ping requires root for creating a raw network socket. Running "sudo chmod u+s /bin/ping" fixes this issue. Why this is situation here? I'm not sure, but I'm going to do some digging.

@crramirez
Copy link
Contributor

Fixed with the latest release

@barnscott
Copy link

Just for reference, I just encountered this same issue. Had not had issue since I installed FedoraRemix on this PC in Oct 2019.
I updated my PC to 2004, upgraded to release 32, and issue began. Not sure exactly what caused it, but the same resolution fixed it: sudo chmod u+s /bin/ping

@crramirez
Copy link
Contributor

Thank you for report it. Maybe the upgrade to Fedora 32 reset the bit. We will take this into account for the image generation of Fedora 32, also for the instructions in the blog.

Be sure that for Fedora 32 you are in WSL2 due to an issue with WSL1

@barnscott
Copy link

Noted. And yes, as part of 2004 upgrade i did also move to wsl2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants