ProtonVPN / protonvpn-cli

Legacy protonvpn-cli: ProtonVPN Command-Line Tool for Linux and macOS. This has been superseded by https://github.com/ProtonVPN/protonvpn-cli-ng
Other
602 stars 96 forks source link

protonvpn connect immutable attribute issue #210

Closed Rejzor closed 4 years ago

Rejzor commented 4 years ago

In arch linux immutable attribute is set by default for file /etc/resolv.conf. During sudo protonvpn connect command execution there is a action which move /etc/resolv.conf to /etc/resolv.conf.bak so for arch linux users protonvpn command will always fail.

Workaround is to remove immutable attribute(chattr -i /etc/resolv.conf) but protonvpn-cli should check if attribute is set and change it temporarly