jonathanio / update-systemd-resolved

Helper script for OpenVPN to directly update the DNS settings of a link through systemd-resolved via DBus.
Other
761 stars 94 forks source link

AUR changes for upstream #107

Closed ghost closed 1 year ago

ghost commented 2 years ago

Hi,

This issue is merely a report regarding some of the differences between this repo and the current AUR package.

  1. Per christoph.gysin, "Setting the path as instructed in the post install seems unnecessary." In the AUR setenv PATH has been deprecated/removed from all relevant files.
  2. Per dimop, "openvpn 2.5.0-3 runs no longer scripts as root but as the user openvpn. Thus the D-BUS call to SetLinkDNS fails. My workaround is to authorize the user openvpn using a PolicyKit rule to update the DNS server in resolved." In the AUR a file named openvpn-update-systemd-resolved.rules is provided and is stored in /usr/share/polkit-1/rules.d/00-openvpn-systemd-resolved.rules.

Further information can found on the AUR.

tomeon commented 1 year ago

Thanks for this report. Completed in #117.