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

Check that org.freedesktop.resolve1 is available #105

Closed tomeon closed 1 year ago

tomeon commented 2 years ago

and short-circuit with an error message about requiring systemd >= 229 if it is unavailable.

Incidental changes:

~~1. Ensure that the test runner sources the update-systemd-resolved script that lives in this repository, rather than one that might live somewhere in PATH, and

  1. Update the test runner's logger function to support reading messages from stdin.~~

Above-stricken items were already taken care of in another PR.

tomeon commented 1 year ago

Marked this as a draft as the change may require PolKit rules updates; looking into it.