← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1620559] Re: /etc/resolv.conf is empty on snappy

 

This is a bug in systemd-networkd-resolvconf-update.service, apparently
/run/systemd/netif/state does not always get the received DNS servers.
This does not affect yakkety any more as this hackish thing is gone
entirely and replaced by resolved.

But it is still relevant for xenial which snappy is based on, so we need
to SRU it there.

Quick fix for snappy image builds until this is SRUed:

   sed '/^ExecStart=/ s!netif/state!& /run/systemd/netif/leases/* | sort
-u!' /lib/systemd/system/systemd-networkd-resolvconf-update.service

** Also affects: systemd (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: systemd (Ubuntu)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Xenial)
       Status: New => In Progress

** Changed in: systemd (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: systemd (Ubuntu)
   Importance: Critical => Undecided

** Changed in: systemd (Ubuntu Xenial)
     Assignee: (unassigned) => Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1620559

Title:
  /etc/resolv.conf is empty on snappy

Status in Snappy:
  New
Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Xenial:
  In Progress

Bug description:
  we currently have no working resolver on snappy installs,
  /etc/resolv.conf is the boilerplate one.

  on the low level we seem to have DNS from the DHCP server though

  ogra@localhost:~$ grep -r DNS= /run/systemd/netif
  /run/systemd/netif/leases/3:DNS=217.237.150.115 217.237.151.205
  /run/systemd/netif/links/3:DNS=217.237.150.115 217.237.151.205
  /run/systemd/netif/links/3:MDNS=no
  ogra@localhost:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1620559/+subscriptions