DHCP and /etc/resolv.conf

Zygmunt Krynicki zygmunt.krynicki at canonical.com
Tue Jan 17 13:18:40 UTC 2017

Quick grep tells me that no interface currently relates to "resolv.conf" file

On Tue, Jan 17, 2017 at 12:01 AM, Joe Coates
<jcoates at extremenetworks.com> wrote:
> Is there a current slot interface which allows write access to /etc/resolv.conf?
> Thanks,
> Joe Coates
> ________________________________________
> From: snapcraft-bounces at lists.snapcraft.io <snapcraft-bounces at lists.snapcraft.io> on behalf of Mark Shuttleworth <mark at ubuntu.com>
> Sent: Monday, January 16, 2017 4:58:45 PM
> To: Snapcraft
> Subject: Re: DHCP and /etc/resolv.conf
> On 16/01/17 16:39, Joe Coates wrote:
> I'm snapping an app which includes a DHCP client replacement.   Ultimately it wants to update/replace /etc/resolv.conf.     My snap is connected to all the "network" interfaces available in my ubuntu-core, but none seem to allow write access to this file.  Shouldn't an interface like "network-control" allow write access to /etc/resolv.conf ?
> I think /etc/resolv.conf is generated from a number of sources, but yes, it should be possible to influence it.
> Mark
> ________________________________
> This e-mail and any attachments to it may contain confidential and proprietary material and is solely for the use of the intended recipient. Any review, use, disclosure, distribution or copying of this transmittal is prohibited except by or on behalf of the intended recipient. If you have received this transmittal in error, please notify the sender and destroy this e-mail and any attachments and all copies, whether electronic or printed.
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

More information about the Snapcraft mailing list