metalbear-co / mirrord

Connect your local process and your cloud environment, and run local code in cloud conditions.
https://mirrord.dev
MIT License
3.75k stars 101 forks source link

running shell scripts fails on Sequoia macOS #2784

Open aviramha opened 1 day ago

aviramha commented 1 day ago

Latest macOS update, Sequoia (15.0) broke running shell scripts using mirrord. Specifically, it looks like it broke the SIP detection somehow.

To reproduce create a script called fun.sh:

#/bin/sh
curl http://ip-info

then on MIRRORD_PROGRESS_MODE=off RUST_LOG=mirrord=trace mirrord exec -t deployment/ip-visit-counter -- ./fun.sh

you get

2024-09-27T15:23:39.388168Z TRACE start: mirrord_sip::main: No SIP detected on "./sha.sh"
* Could not resolve host: ip-info
* Closing connection
curl: (6) Could not resolve host: ip-info
linear[bot] commented 1 day ago

MBE-421 running shell scripts fails on Sequoia macOS