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

Networking issues on Sequoia (15.2) #1015

Open
fmoc opened this issue Jan 23, 2025 · 1 comment
Open

Networking issues on Sequoia (15.2) #1015

fmoc opened this issue Jan 23, 2025 · 1 comment

Comments

@fmoc
Copy link

fmoc commented Jan 23, 2025

While trying to use tart on a Macbook M4 Pro with Sequoia 15.2 installed, I have run into a variety of problems which might be related to the introduction of this "local network" setting in Privacy & Security mentioned, e.g., in cirruslabs/gitlab-tart-executor#86, #998 (comment).

The following problems were tested with the ventura and sequoia vanilla images:

  • when using the default NAT option, the VM has no internet connectivity, gets assigned a link-local DHCP fallback IP address, and tart ip times out
  • when using --net-softnet, the same behavior occurs
  • when using --net-bridged, the VM is assigned an IP by the DHCP server and is connected to the Internet, but cannot be pinged or accessed from the local host

When using ubuntu-latest, the bridged network at least allows me to SSH into the VM.

I'm not sure how to debug these problems. Any pointers would be appreciated.

One thing I noticed is the absence of /var/db/dhcpd_leases. I'm not sure if I need to install or enable some additional components.

@edigaryev
Copy link
Collaborator

Hello Fabian 👋

Assuming that /var/db/dhcpd_leases doesn't get created, it's unlikely that the issue you're facing is related to the newly introduced "Local Network" permission in macOS Sequoia.

This is because Tart itself doesn't connect to local network (tart ip only reads /var/db/dhcpd_leases), and a fallback IP address is likely related to a non-functioning DHCP server on the host.

  1. Is there anything special about your macOS Sequoia 15.2 host? Is it a clean macOS installation, or does it contain any network/security-related software and/or configuration? Perhaps, you've ran other virtualization solutions on it?

  2. How does /Library/Preferences/SystemConfiguration/com.apple.vmnet.plist look like on the host machine?

  3. How does /Library/Preferences/SystemConfiguration/com.apple.InternetSharing.default.plist look like on the host machine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants