DHCP and /etc/resolv.conf

Joe Coates jcoates at extremenetworks.com
Mon Jan 16 23:01:13 UTC 2017


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

________________________________

DISCLAIMER:
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.





More information about the Snapcraft mailing list