[prev in list] [next in list] [prev in thread] [next in thread]
List: systemd-devel
Subject: Re: [systemd-devel] sd-bus example code for SetLinkDNS()
From: Lennart Poettering <lennart () poettering ! net>
Date: 2017-07-31 15:53:44
Message-ID: 20170731155344.GA5028 () gardel-login
[Download RAW message or body]
On Di, 25.07.17 13:29, Tilman Baumann (tilman@baumann.name) wrote:
> Little follow-up question. What would you say is best practice for a vpn
> client?
>
> - Add commandline option --update-systemd-resolved or so
> - Autodetect existence of the interface and just do it? (How?)
Just issue the bus commands, and if you get a service not found error back
use the traditional way. If resolved is around it should be used, and
it it isn't then it shouldn't be used... I think making the user
configure resolved usage at two places is just intransparent and makes
things harder for the user.
Lennart
--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic