Break cycle dependency of tunnel netdev services on network setup #47
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "esavkin/it-infra:34-network-cycle-dependency-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This changes the following chain after nixos-rebuild switch with modified tunnel interfaces:
stop network-setup -> stop TUN-netdev -> stop network-addresses-TUN -> start network-addresses-TUN (fails since it depends on TUN-netdev which is off).
Chain after this change:
stop TUN-netdev -> stop network-setup -> stop network-addresses-TUN -> start TUN-netdev -> start network-addresses-TUN -> start network-setup
Closes #34
This is a NixOS bug, please fix it properly and submit a PR upstream.