[systemd-devel] [RFC 0/6] A network proxy management daemon, systemd-proxy-discoveryd

Tomasz Bursztyka tomasz.bursztyka at linux.intel.com
Thu Jul 16 11:27:33 PDT 2015


Hi David,

> On  Fri Apr 10 05:17:37 PDT 2015, Tomasz Bursztyka wrote:
>> As it has been discussed in the systemd hackfest during the Linux Conference
>> Europe, one daemon could centralize the management of all network proxy
>> configurations. Idea is something user can do per-application (like in
>> firefox for instance) or broader (per-DM like in Gnome), user could do it
>> once and for all through such daemon and applications would then request it
>> to know whether or not a proxy has to be used and which one.
> What overriding reason is there for doing this instead of just using
> PacRunner? If it's just the JS engine, that's *already* a plugin for
> PacRunner and it's easy enough to add new options. Hell *I* managed to
> add v8 support at some point in the dim and distant past, and I don't
> even admit to knowing any C++. Or JavaScript.
>
> You seem to be reimplementing the part of the solution that was already
> basically *working*, while there are other parts which desperately need
> to be completed.
>
> PacRunner works. There is a libproxy plugin which uses it¹ — and
> alternatively, PacRunner even provides its own drop-in replacement for
> libproxy, implementing the nice simple API without the complete horror
> the libproxy turned in to.
>
> So we have the dæmon working, and we have a simple way for client
> libraries and applications to use it.
>
> The *only* thing that has so far held me back from proposing a
> packaging guideline in my Linux distribution of choice which says
> "applications SHALL use libproxy or query PacRunner by default" has
> been the fact that NetworkManager does not pass on the proxy
> information to PacRunner, so applications which query it won't yet get
> the *right* results².
>
> If you're going to look at this stuff, I wish you'd fix *that* (for
> both NetworkManager and systemd-networkd) instead of polishing
> something that already existed.
>
> Then again, as long as it continues to work, I don't really care too
> much. In some way, having it be part of systemd would at least give
> more credence to the idea that applications SHOULD be using it by
> default.
>

Ok maybe that's was unclear in my mail, but systemd guys want such feature
in systemd.  I know the work you did to integrate PACrunner properly.
And Marcel - who created PACrunner - was attending this hackfest as well.
So all parties involved know what are the reasons for that proposal.

Tomasz


More information about the systemd-devel mailing list