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

[Bug]: libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied #3330

Closed
Android-PowerUser opened this issue Apr 6, 2023 · 4 comments

Comments

@Android-PowerUser
Copy link

Android-PowerUser commented Apr 6, 2023

Problem description

I'm trying to get Steam running with Box64 on Ubuntu in PRoot. Ptitseb, the developer of Box64 says it's probably because of libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied. ptitSeb/box86#699 (comment)
Is there a workaround now?

Steps to reproduce the behavior.

Compile and install Box64 and Box86 on Ubuntu with PRoot. Use bash of Box64 try Box64 steam.

What is the expected behavior?

Steam should start.

System information

  • Termux application version: 0.118
  • Android OS version: 11
  • Device model: Galaxy A12
@twaik
Copy link
Member

twaik commented May 20, 2023

Termux is running in android's application sandbox. These sandboxes will never be allowed to connect netlink sockets.

@Android-PowerUser
Copy link
Author

I was already aware that without root, the Android netlink socket will never be obtained. But perhaps PRoot can be used to simulate the socket, or Steam can be convinced not to use libudev. Maybe libudev could just give a standard response.

@twaik
Copy link
Member

twaik commented May 20, 2023

It is impossible without patching libudev inside proot-distro container.

@twaik
Copy link
Member

twaik commented Sep 4, 2023

@agnostic-apollo I think that issue can be closed.

@agnostic-apollo agnostic-apollo closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2023
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

3 participants