-
-
Notifications
You must be signed in to change notification settings - Fork 140
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 ] ShellHub Agent Registers as New Host on System Restart in WSL2 #3456
Comments
@yb-cs We're spinning up a test environment to dive deep into this. Just a heads up, none of our core team has worked with WSL2 before, so it might take a bit for us to fix the issue. |
Hey @gustavosbarreto thank you for the comment. Good luck with the setup. If you need any help let me know. My hunch is that the issue with the WSL2 when using the compiled version is the network interface not being constant (But I don't really know how the host name is really calculated etc.... in this case). Aaaaand the issue with docker in WSL2 my hunch is that it has to do with the file system structure and mounts etc in WSL2. |
After digging into the problem on WSL, we've found that the MAC address changes with each restart, which is causing the issue. Unfortunately, this behavior isn't something we can directly modify. On our side, we recommend using the |
I am having this exact issue on Arch. |
https://docs.shellhub.io/developers/agent/installing#automatic-one-line-installation-script |
Thank you, but after investigating further, I am actually using this already. The new client is registered with the preferred hostname, but alas, as good as every reboot generate a new unique pending device in my dashboard for that PC.. |
📝 Description
I'm experiencing an issue with the ShellHub agent in a WSL2 (Ubuntu 22.04 LTS) environment. Each time the system restarts, the host goes offline and the agent registers as a new host instead of continuing the existing session.
🔍 Details
🔧 Service Configuration (with dummy information)
🐳 Additional Context
netsc
issue).💡 Suggested Resolutions
Any help or guidance from the community would be greatly appreciated!
Edition
Community
Version
Latest
The text was updated successfully, but these errors were encountered: