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

Fix "IP address is not assigned" troubleshooting #51

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

nirs
Copy link
Contributor

@nirs nirs commented Sep 20, 2024

The first "succeeds" without sudo:

% /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
Application at path ( /usr/libexec/bootpd ) added to firewall

But then the next command fails:

% /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd
The application is not part of the firewall

Running the first command with sudo works:

% sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
Application at path ( /usr/libexec/bootpd ) added to firewall

% /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd
Incoming connection to the application is permitted

It looks like Apple bug, the first command should fail if the application was not added to the firewall.

The first "succeeds" without sudo:

    % /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
    Application at path ( /usr/libexec/bootpd ) added to firewall

But then the next command fails:

    % /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd
    The application is not part of the firewall

Running the first command with sudo works:

    % sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
    Application at path ( /usr/libexec/bootpd ) added to firewall

    % /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd
    Incoming connection to the application is permitted

It looks like Apple bug, the first command should fail if the
application was not added to the firewall.

Signed-off-by: Nir Soffer <[email protected]>
@jandubois jandubois added this to the v1.1.5 milestone Sep 20, 2024
@jandubois jandubois merged commit fa0dbdd into lima-vm:master Sep 20, 2024
2 of 4 checks passed
@nirs nirs deleted the readme branch September 20, 2024 21:44
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.

2 participants