HomeFreeBSD

security/tailscale: Robustify rc.d script

Description

security/tailscale: Robustify rc.d script

Check for orphaned network interface at the time of start, and if such
an interface exists then destroy it before starting tailscaled. When
tailscaled terminates unexpectedly it fails to cleanup, leaving the
orphaned interface behind. This results in it failing to start until
the interface is cleaned up, making it unsuitable for being monitored
by a service monitoring software (e.g. monit)

Reported by: ler

Details

Provenance
ashishAuthored on May 11 2022, 4:37 AM
Parents
R11:1430dabdb37f: sysutils/p5-POSIX-Run-Capture: new port had been added (+)
Branches
Unknown
Tags
Unknown