Package Details: openvpn-update-systemd-resolved 1.3.0-4

Git Clone URL: https://aur.archlinux.org/openvpn-update-systemd-resolved.git (read-only, click to copy)
Package Base: openvpn-update-systemd-resolved
Description: OpenVPN systemd-resolved Updater
Upstream URL: https://github.com/jonathanio/update-systemd-resolved
Keywords: dns openresolv openvpn resolv resolved systemd
Licenses: GPL
Submitter: jonathanio
Maintainer: max-k
Last Packager: max-k
Votes: 50
Popularity: 0.000943
First Submitted: 2016-06-23 21:47 (UTC)
Last Updated: 2021-05-06 15:09 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

somini commented on 2019-11-14 22:45 (UTC) (edited on 2020-07-01 01:30 (UTC) by somini)

@mprom Mostly adherence to standards.

  • Installing executable binaries on /etc doesn't make much sense. Keep them in its location
  • The .conf file is not supposed to be editable, it doesn't need to be added to /etc. You can always source it on the OpenVPN configuration and then redefine stuff.

mprom commented on 2019-11-13 07:38 (UTC)

@somini Could you elaborate as to why?

somini commented on 2019-10-10 11:25 (UTC) (edited on 2019-10-10 11:25 (UTC) by somini)

The installation directories for this should be tweaked:

  • update-systemd-resolved: /usr/bin
  • update-systemd-resolved.conf: /usr/share/openvpn/contrib (???)

vojd commented on 2017-09-23 10:32 (UTC)

I had the same error. This solves it. https://github.com/jonathanio/update-systemd-resolved#how-to-enable Make sure that you have systemd-resolved enabled and running: systemctl enable systemd-resolved.service systemctl start systemd-resolved.service

jonathanio commented on 2017-07-25 08:34 (UTC)

@JM9 there have been issues around the use of --id for logger within the script. The latest version removes that so it should now work for you. I can confirm it works fine for me under 1.2.6-1: Jul 25 09:30:56 laptop update-systemd-resolved[3]: Adding DNS Routed Domain . Jul 25 09:30:56 laptop openvpn[2]: <14>Jul 25 09:30:56 update-systemd-resolved: Adding DNS Routed Domain . Jul 25 09:30:56 laptop update-systemd-resolved[4]: Adding IPv4 DNS Server 10.8.16.1 Jul 25 09:30:56 laptop openvpn[2]: <14>Jul 25 09:30:56 update-systemd-resolved: Adding IPv4 DNS Server 10.0.0.1 Jul 25 09:30:56 laptop update-systemd-resolved[5]: SetLinkDNS(5 1 2 4 10 0 0 1) Jul 25 09:30:56 laptop openvpn[2]: <14>Jul 25 09:30:56 update-systemd-resolved: SetLinkDNS(5 1 2 4 10 0 0 1) Jul 25 09:30:56 laptop update-systemd-resolved[6]: SetLinkDomains(5 1 . true) Jul 25 09:30:56 laptop openvpn[2]: <14>Jul 25 09:30:56 update-systemd-resolved: SetLinkDomains(5 1 . true)

JM9 commented on 2017-07-13 15:32 (UTC) (edited on 2017-07-13 23:00 (UTC) by JM9)

with latest systemd/openvpn/dbus updates this script is no longer working: Unit dbus-org.freedesktop.resolve1.service not found. update-systemd-resolved[3477]: 'busctl' exited with status 1 WARNING: Failed running command (--up/--down): external program exited with error status: 1

jonathanio commented on 2017-06-21 14:04 (UTC)

@noraj bash is the scripting language the script is written in, and because it makes use of arrays as well as probably the odd bashism, I don't think you can run it in any other shell at the moment.

noraj commented on 2017-06-20 21:35 (UTC)

Why would you need bash ?

jonathanio commented on 2017-03-02 14:51 (UTC)

@aryklein, Fixed. My build server flagged it too, but I didn't know about `makepkg -g`; that'll make things easier in the future. Thanks.