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] bind source does not exist #131

Closed
MattPlayGamez opened this issue Jan 1, 2023 · 7 comments
Closed

[BUG] bind source does not exist #131

MattPlayGamez opened this issue Jan 1, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@MattPlayGamez
Copy link

Describe the bug

Hi,
I got an error (see below). I didn't change anything since previous time and I'm a bit suprised

`
PS C:\Users\mathy> exegol start default full -cwd --disable-shared-timezones --disable-shared-network --vpn D:\Exegol\Docker.ovpn
C:\Users\mathy\AppData\Local\Programs\Python\Python310\lib\site-packages\paramiko\transport.py:178: CryptographyDeprecationWarning: Blowfish has been deprecated
'class': algorithms.Blowfish,
[] Exegol is currently in version v4.1.0
[
] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) 🙏
[+] We thank HackTheBox for sponsoring the multi-arch support 💚
[
] Starting exegol
[*] Arguments supplied with the command, skipping interactive mode
<3>WSL (245) ERROR: UtilTranslatePathList:2671: Failed to translate D:\IntelliJ\bin
<3>WSL (248) ERROR: UtilTranslatePathList:2671: Failed to translate D:\IntelliJ\bin
<3>WSL (18111) ERROR: UtilTranslatePathList:2671: Failed to translate D:\IntelliJ\bin

⭐ Container summary
┌──────────────────┬──────────────────────────────────────────────────────────────┐
│ Name │ default │
│ Image │ full - v.3.0.0 (Up to date) │
├──────────────────┼──────────────────────────────────────────────────────────────┤
│ GUI │ On ✔ │
│ Network │ bridge with VPN │
│ Timezone │ Off 🪓 │
│ Exegol resources │ On ✔ (/opt/resources) │
│ My resources │ On ✔ (/opt/my-resources) │
│ Shell logging │ Off 🪓 │
│ VPN │ Docker.ovpn │
│ Privileged │ Off ✔ │
│ Capabilities │ NET_ADMIN │
│ Workspace │ C:\Users\mathy (/workspace) │
│ Devices │ /dev/net/tun │
│ Volumes │ D:\Exegol\Docker.ovpn ➡ /.exegol/vpn/config/client.ovpn (RO) │
│ Systctls │ net.ipv6.conf.all.disable_ipv6 = 0 │
└──────────────────┴──────────────────────────────────────────────────────────────┘

[*] Creating new exegol container
[-] invalid mount config for type "bind": bind source path does not exist:
/run/desktop/mnt/host/d/Exegol/exegol-resources
[!] Error while creating exegol container. Exiting.
PS C:\Users\mathy>
`

Steps To Reproduce

1: Start a container (with this command: exegol start default full -cwd --disable-shared-timezones --disable-shared-network --vpn D:\Exegol\Docker.ovpn)
2. Get this error [-] invalid mount config for type "bind": bind source path does not exist: /run/desktop/mnt/host/d/Exegol/exegol-resources [!] Error while creating exegol container. Exiting.

Exegol Wrapper Version

[*] Exegol is currently in version v4.1.0
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) 🙏
[+] We thank HackTheBox for sponsoring the multi-arch support 💚
[D] Pip installation: On ✔
[D] Git source installation: Off 🪓
[D] Host OS: Windows
[D] Arch: amd64
[D] Windows release: 10.0.22621
[D] Python environment: Windows
[D] Docker engine: WSL2
[D] Docker desktop: On ✔
[D] Shell type: Windows
[D] Last update check: 29/12/2022

Exegol container information

I don't have a running container. (Can't launch)

Exception

No response

Additional context

No response

Anything else?

No response

@MattPlayGamez MattPlayGamez added the bug Something isn't working label Jan 1, 2023
@QU35T-code
Copy link
Member

QU35T-code commented Jan 20, 2023

Hello @MattPlayGamez,

I would have some additional information to help you.

  • What distro are you using on WSL2 ?
  • Did you install exegol from github sources or from pip ?
  • Did you try to run container with the following command ? exegol start test (Do you get the same error ?)

The exegol wrapper tries to bind the path to the resources (ˋexegol-resourcesˋ), but the path is invalid.

Also, your problem comes from wrapper, I think this issue should be moved to the other exegol repo : https://github.com/ThePorgs/Exegol (cc @ShutdownRepo)

@Dramelac Dramelac transferred this issue from ThePorgs/Exegol-images Jan 21, 2023
@Dramelac
Copy link
Member

Hello @MattPlayGamez
First your Exegol wrapper is not using the latest version, you can try to upgrade with pip install --upgrade exegol
It seems that you are using D:\Exegol\exegol-resources, can you check if this directory exist ? (If not, it can be created/ updated using exegol update)
Might be also a good idea to check your docker desktop configuration to see if D:\Exegol is shared with docker

@MattPlayGamez
Copy link
Author

Hi @Dramelac and @QU35T-code,
Sorry for the (really) late response.
So I updated exegol but I get this error [-] can't access specified distro mount service: stat /run/guest-services/distro-services/ubuntu.sock: no such file or directory.

I have ubuntu (WSL) installed.

@Dramelac
Copy link
Member

Hi @MattPlayGamez,

Is this bug still exist with the current version of Exegol (4.2.1) ?

@QU35T-code
Copy link
Member

The problem seems to be related to your WSL installation and not directly to Exegol. The easiest way is that you open a ticket on the Discord for better interaction to fix your problem.

https://discord.gg/tWAHQGdEFW

@MattPlayGamez
Copy link
Author

MattPlayGamez commented May 13, 2023 via email

@MattPlayGamez
Copy link
Author

MattPlayGamez commented May 22, 2023 via email

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

3 participants