mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-13 13:53:28 +01:00
Wireshark change causing error running osx via naked #516
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adamBoualleiguie on GitHub (Jul 27, 2023).
using this command i run docker container of docker osx and it was working via a cronJob , the problem Today appears:
command:
ocker run -i --device /dev/kvm -p 50923:10022 -p 6000:5999 -v /tmp/.X11-unix:/tmp/.X11-unix -v "/DATA/Proxym-MacOs/Macos_xcode14_stable_running.img:/image" -v "/DATA/AdditionalMacosDisks/xcode_versions.img:/disktwo" -v "/DATA/AdditionalMacosDisks/xcode_14_2.img:/diskthree" -e "DISPLAY=${DISPLAY:-:0.0}" -e EXTRA='-display none -vnc 0.0.0.0:99 -device ide-hd,bus=sata.5,drive=DISK-TWO -drive id=DISK-TWO,if=none,file=/disktwo,format=qcow2 -device ide-hd,bus=sata.3,drive=DISK-THREE -drive id=DISK-THREE,if=none,file=/diskthree,format=qcow2' -e RAM=17 -e GENERATE_UNIQUE=true -e MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist sickcodes/docker-osx:nakedi already check that wireshark repo and that file no longer exist: https://gitlab.com/wireshark/wireshark/-/raw/master/manuf
stacktrace:
DEVICE_MODEL: iMacPro1,1
SERIAL_SET_COUNT: 1
OUTPUT_DIRECTORY: .
Cloning into 'OpenCorePkg'...
make: Entering directory '/home/arch/OSX-KVM/OpenCorePkg/Utilities/macserial'
cc Linux_X64/macserial.o Linux_X64/UserPseudoRandom.o -o macserial
strip -x macserial
make: Leaving directory '/home/arch/OSX-KVM/OpenCorePkg/Utilities/macserial'
File: ./macserial
Size: 1045352 Blocks: 2048 IO Block: 4096 regular file
Device: 0,57 Inode: 5654222 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ arch) Gid: ( 1000/ arch)
Access: 2023-07-27 09:40:35.762175947 +0000
Modify: 2023-07-27 09:40:35.766176034 +0000
Change: 2023-07-27 09:40:35.770176122 +0000
Birth: 2023-07-27 09:40:35.730175245 +0000
--2023-07-27 09:40:35-- https://gitlab.com/wireshark/wireshark/-/raw/master/manuf
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving gitlab.com (gitlab.com)... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9
Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-07-27 09:40:36 ERROR 404: Not Found.
@Dieter7788 commented on GitHub (Jul 27, 2023):
this fixed the issue for me
sudo apt update -y
sudo apt install libguestfs-tools build-essential wget git gcc uuid-runtime sudo -y
@adamBoualleiguie commented on GitHub (Aug 6, 2023):
sorry for the late response, no it didn't solve the issue as far as i see there is a file which is removed from wireshark repository , this file is caussing the error when naked container is starting. sorry if i proposed wrong root cause, is there any help regarding this issue ? thanks .
@PaiHL commented on GitHub (Sep 28, 2023):
我也遇到了这个问题 ```hl@hl:~/osx$ docker run -it \
DEVICE_MODEL: iMacPro1,1
SERIAL_SET_COUNT: 1
OUTPUT_DIRECTORY: .
Cloning into 'OpenCorePkg'...
remote: Enumerating objects: 1730, done.
remote: Counting objects: 100% (1730/1730), done.
remote: Compressing objects: 100% (1510/1510), done.
remote: Total 1730 (delta 377), reused 654 (delta 164), pack-reused 0
Receiving objects: 100% (1730/1730), 15.36 MiB | 126.00 KiB/s, done.
Resolving deltas: 100% (377/377), done.
make: Entering directory '/home/arch/OSX-KVM/OpenCorePkg/Utilities/macserial'
cc Linux_X64/macserial.o Linux_X64/UserPseudoRandom.o -o macserial
strip -x macserial
make: Leaving directory '/home/arch/OSX-KVM/OpenCorePkg/Utilities/macserial'
File: ./macserial
Size: 1045400 Blocks: 2048 IO Block: 4096 regular file
Device: 0,368 Inode: 210211 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ arch) Gid: ( 1000/ arch)
Access: 2023-09-28 10:33:27.069166393 +0000
Modify: 2023-09-28 10:33:27.069166393 +0000
Change: 2023-09-28 10:33:27.079166583 +0000
Birth: 2023-09-28 10:33:27.069166393 +0000
--2023-09-28 10:33:27-- https://gitlab.com/wireshark/wireshark/-/raw/master/manuf
SSL_INIT
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving gitlab.com (gitlab.com)... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9
Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-28 10:33:28 ERROR 404: Not Found.
@MacDaddy1660B commented on GitHub (Nov 15, 2023):
Terminal output:
@kuya1284 commented on GitHub (Dec 18, 2023):
While attempting to setup Ventura for the first time using Docker-OSX, I came across this issue with not being able to generate a unique serial. The URL for
manufthat's hardcoded ingenerate-unique-machine-values.sh, and possibly other files/scripts is no longer valid as mentioned by the OP.After some research, I discovered this thread that was created on July 27, 2023: Wireshark manufacturer database on gitlab is broken. In that thread,
manufwas removed by commit 131b1e42. As an alternative, themanuffile couild be referenced in the Wireshark 4.0 branch: https://gitlab.com/wireshark/wireshark/-/raw/release-4.0/manuf.Or, even better, this download URL should be used instead, which gets updated periodically from master: https://www.wireshark.org/download/automated/data/manuf.
This should be a quick and easy change to make. If I have some time this week, I could submit a PR, but if I don't get around to it, maybe someone else can.
@elven2016 commented on GitHub (Dec 29, 2023):
the same issue too
@elven2016 commented on GitHub (Dec 29, 2023):
hello,kuya1284,How can this issue be resolved? What command should be used when running Docker to avoid this problem? thanks
@kuya1284 commented on GitHub (Dec 30, 2023):
@elven2016 , edit
generate-unique-machine-values.shand change https://gitlab.com/wireshark/wireshark/-/raw/release-3.6/manuf to https://www.wireshark.org/download/automated/data/manuf.@sickcodes commented on GitHub (Apr 8, 2024):
Thanks guys we fixed it here:
ae3b4cc44dI have updated the submodule