projectbuendia / buendia

Main project repository (see the Wiki for details)
Apache License 2.0
117 stars 36 forks source link

Prevent simultaneous network reconfigurations #248

Closed schuyler closed 4 years ago

schuyler commented 4 years ago

Add a file mutex to the config.d/10-networking script in buendia-networking, to ensure that only one network reconfiguration can be run at a time.

This addresses potential race conditions where buendia-wifi-watchdog attempts to restart the Wi-Fi connection while another similar watchdog process is already waiting on, e.g., a slow DHCP server.