Skip to content

[BUG] network_ready not defined from auto.action #191

@albertvaka

Description

@albertvaka

The wpa action (auto.action) sources ip and calls ip_set which in turn calls network_ready. However, network_ready is defined in network which isn't sourced from this code path. This results in a "command not found" error.

To solve this, the network_ready function might need to be moved to globals so it's always accessible.

Side note: To find this problem it was very useful to redirect the logs of the wpa action to the journal. I did this by adding this line at the top of auto.action. Maybe this is something we want to add there permanently, since otherwise the output of this script is lost.

exec > >(systemd-cat -t wpa_action) 2>&1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions