-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Run sudo ./installer.sh in a gitpod.io instance and receive an error #1239
Comments
Thank you for contributing an issue! Welcome to the EMBA firmware analysis community! We are glad you are here and appreciate your contribution. Please keep in mind our contributing guidelines here and here. If you like EMBA you have the chance to support us by becoming a Sponsor or buying some beer here. To show your love for EMBA with nice shirts or other merch you can check our Spreadshop. This is an automatic message. Allow for time for the EMBA community to be able to read the issue and comment on it. |
I am not familiar with such an environment but it looks as there are initial issues in setting up the EMBA base image. If you get it running we are very interested in a little tutorial or something like this. |
I ""believe that I was able"" to get this to work by building from source instead of the containers. It would be great to provide the tutorial .. gitpod.io is so helpful. I just spun up an 8 core, 16 gb environment that is free for the first several hours of use per month. I will now start testing the tools. sudo docker-compose build emba |
This means you did a developer installation on the host with |
Have you solved this problem? |
I am still working through this. I noted in my earlier comment that I was able to get an environment installed. The question is if it is working. No :-(. I downloaded an image (please recognize that I was just introduced to EMBA 2 days ago) and tried to analyze it. There are two sections to this posted comment results of(#1) # sudo ./emba -l ./log -f ./IoTGoat-raspberry-pi2.img results of(#2) # sudo ./installer.sh -F. ((two iterations)) (#1) First results below. sudo ./emba -l ./log -f ./IoTGoat-raspberry-pi2.img[*] Fri Jul 19 14:17:25 UTC 2024 - Enable python virtual environment ./external/emba_venv [+] Dependency check[*] Network connection: [*] Elementary: [*] Load kernel modules on host system: [*] Necessary utils on system: [!] Warning
[*] A finished EMBA firmware test was found in the log directory Delete content of log directory: ./log ? (Y/n) Y Sucessfully deleted: ./log [!] Warning
Continue to run EMBA and ignore this warning? (Y/n) Y [] Fri Jul 19 14:17:31 UTC 2024 - Started kernel downloader thread with PID 10634 [!] WARNING: EMBA is running with 1 modules in parallel and 1 threads per module. [*] Fri Jul 19 14:17:31 UTC 2024 - EMBA sets up the docker environment. [*] Fri Jul 19 14:17:31 UTC 2024 - EMBA initializes docker container. ╔═══════════════════════════════════════════════════════════════╗ Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /dev/console: permission denied: unknown &&&&&&&&&&&&&&&&& (#2) Second results below. ((two iterations) Noting the /dev/console error, I attempted to use the recent comment about developer mode (after struggling through asking questions an LLM agent that I trained on this repo's documents). It wanted me to install the linux headers and some other commands. That went into a dark hole of pain. I did have some challenges with the -F switch but I fixed that by running #sudo /bin/mkdir -p /home/linuxbrew/.cache/Homebrew #sudo ./installer.sh -F. ((two iterations)) (1st iteration with homebrew permission error)
|
#sudo ./installer.sh -F (2nd iteration) eventually errored out as well. Cloning into '/root/.local/share/radare2/r2pm/git//r2dec'...
|
Full install is only supported and tested on Kali Linux |
This issue is stale because it has been open for 28 days with no activity. |
Describe the bug
CONTAINER VARIABLE SET TO embeddedanalyzer/emba:1.4.1e
1.4.1e: Pulling from embeddedanalyzer/emba
beda2df076e1: Pull complete
6c6558834121: Pull complete
641795abd7ee: Pull complete
c862cf65afdb: Pull complete
66dd883588f6: Pull complete
f381de0b2824: Extracting [==================================================>] 5.38GB/5.38GB
b5b62e8906aa: Download complete
failed to register layer: failed to Lchown "/root/.cpanm/work/1719916562.221739/Number-Compare-0.03" for UID 831580115, GID 755412454 (try increasing the number of subordinate IDs in /etc/subuid and /etc/subgid): lchown /root/.cpanm/work/1719916562.221739/Number-Compare-0.03: invalid argument
Error detected - status code 1
Command: echo -e "Command: ${ORANGE}${BASH_COMMAND}${NC}"
Location: ./installer/I05_emba_docker_image_dl.sh, line 52
Stack Trace:
[1] I05_emba_docker_image_dl(): ./installer/I05_emba_docker_image_dl.sh, line 52 -> I05_emba_docker_image_dl
[2] main(): ./installer.sh, line 333 -> main -d
Important: Consider filling out a bug report at https://github.com/e-m-b-a/emba/issues
gitpod /workspace/emba (master) $
To Reproduce
Steps to reproduce the behavior:
Priority issue
Are you already a [Sponsor]? - N
Additional context
Trying to run emba in a gitpod.io workspace so that it is simple to get started with. Produces the above error after running install shell script.
The text was updated successfully, but these errors were encountered: