ThePorgs / Exegol

Fully featured and community-driven hacking environment
https://exegol.readthedocs.io/
GNU General Public License v3.0
1.92k stars 190 forks source link

[BUG] bind source does not exist #131

Closed MattPlayGamez closed 1 year ago

MattPlayGamez commented 1 year ago

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 ```Text [*] 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 ```Text I don't have a running container. (Can't launch) ``` ### Exception _No response_ ### Additional context _No response_ ### Anything else? _No response_
QU35T-code commented 1 year ago

Hello @MattPlayGamez,

I would have some additional information to help you.

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Hi @MattPlayGamez,

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

QU35T-code commented 1 year ago

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 commented 1 year ago

Hi,

Sorry that I wasn't answerig previously. I had completly forgotten about it.

I'll look later today (and set this email as unread so I Cant forget about it).

I will reinstall it then

Op za 13 mei 2023 12:39 schreef Dramelac @.***>:

Hi @MattPlayGamez https://github.com/MattPlayGamez,

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

β€” Reply to this email directly, view it on GitHub https://github.com/ThePorgs/Exegol/issues/131#issuecomment-1546618831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZHOEXUYWYICV33FYM6QW3XF5QEJANCNFSM6AAAAAAUCJGXAI . You are receiving this because you were mentioned.Message ID: @.***>

MattPlayGamez commented 1 year ago

No, The issue has been resolved

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& 05/22/23, 05:20:05 PM

Op za 13 mei 2023 om 13:30 schreef MattPlayGamez @.***>:

Hi,

Sorry that I wasn't answerig previously. I had completly forgotten about it.

I'll look later today (and set this email as unread so I Cant forget about it).

I will reinstall it then

Op za 13 mei 2023 12:39 schreef Dramelac @.***>:

Hi @MattPlayGamez https://github.com/MattPlayGamez,

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

β€” Reply to this email directly, view it on GitHub https://github.com/ThePorgs/Exegol/issues/131#issuecomment-1546618831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZHOEXUYWYICV33FYM6QW3XF5QEJANCNFSM6AAAAAAUCJGXAI . You are receiving this because you were mentioned.Message ID: @.***>

-- si vous avez des questions, envoyez-les Γ  mon email @.***> cordialement Mathys

heeft u nog vragen zend het dan naar mijn email @.***> met vriendelijke groet Mathys