Skip to content

Add self test to cover access via VM network address #57

Merged
douglascamata merged 29 commits intomainfrom
colima-network-address-issue
Dec 29, 2025
Merged

Add self test to cover access via VM network address #57
douglascamata merged 29 commits intomainfrom
colima-network-address-issue

Conversation

@douglascamata
Copy link
Copy Markdown
Owner

@douglascamata douglascamata commented Nov 12, 2025

The big important details here is the LNP (local network policy) that Apple is including by default on macOS 15 and beyond: by default, only root processes can access local network. Any non-root process that attempts to do so triggers a permission pop-up which cannot be accepted on environments without a GUI (i.e. Github Actions).

This means that if you want a process inside a macOS 15 Github Action Runner to access the Colima VM through the VM's IP, you will need to run it as root or with sudo.

This is documented in the README and tested in the self-test action in this repository.

This work and investigation started from #56.

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Based on information found at
actions/runner-images#10924

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Resolved conflict in test.yml by keeping our refactored workflow with:
- test-localhost job (no root, localhost access)
- test-network-address-root job (sudo, VM IP access)
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata
<159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
@douglascamata douglascamata changed the title Add self test to cover network address on and off Add self test to cover access via network address Dec 29, 2025
@douglascamata douglascamata changed the title Add self test to cover access via network address Add self test to cover access via VM network address Dec 29, 2025
@douglascamata douglascamata marked this pull request as ready for review December 29, 2025 19:58
@douglascamata douglascamata merged commit 97200b2 into main Dec 29, 2025
2 checks passed
@douglascamata douglascamata deleted the colima-network-address-issue branch December 29, 2025 19:59
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

Successfully merging this pull request may close these issues.

1 participant