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

xdg-dbus-proxy doesn't fail to start if the socket path is too long #16

Open
michael-schaller opened this issue May 26, 2020 · 0 comments

Comments

@michael-schaller
Copy link

michael-schaller commented May 26, 2020

Socket paths are limited to 107 characters (108 minus string termination) on Linux. See man 7 unix for details, specifically sun_path[108].

This means that the socket path can be at max 107 characters long on Linux. If I give a longer socket path to xdg-dbus-proxy then it doesn't fail to start though. Instead applications that try to use the socket fail as the socket doesn't exist in the expected location.

Please fix xdg-dbus-proxy if the socket path is too long. Note that other Unix systems have an even lower limit: https://unix.stackexchange.com/questions/367008/why-is-socket-path-length-limited-to-a-hundred-chars

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