DHCP and /etc/resolv.conf

Mark Shuttleworth mark at ubuntu.com
Mon Jan 16 21:58:45 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170116/8776a31b/attachment.html>


More information about the Snapcraft mailing list