Release: Artful/17.10

Manually removed libnss-resolve to simulate the result of only having
installed ubuntu-minimal (netplan configured with networkd as renderer).

1) Actual result is that /etc/resolv.conf is empty (except for
comments).

2) systemctl status systemd-resolved
* systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor 
preset: enabled)
Drop-In: /lib/systemd/system/systemd-resolved.service.d
        └─resolvconf.conf
Active: inactive (dead)

3) systemd-resolve --status
Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.

journalctl |grep resolve
Jul 13 17:14:12 bar-artful6402 kernel: Key type dns_resolver registered
Jul 13 17:28:58 bar-artful6402 dbus[765]: [system] Activating via systemd: 
service name='org.freedesktop.resolve1' 
unit='dbus-org.freedesktop.resolve1.service'
Jul 13 17:28:58 bar-artful6402 dbus[765]: [system] Activation via systemd 
failed for unit 'dbus-org.freedesktop.resolve1.service': Unit 
dbus-org.freedesktop.resolve1.service not found.
Jul 13 17:43:57 bar-artful6402 dbus[765]: [system] Activating via systemd: 
service name='org.freedesktop.resolve1' 
unit='dbus-org.freedesktop.resolve1.service'
Jul 13 17:43:57 bar-artful6402 dbus[765]: [system] Activation via systemd 
failed for unit 'dbus-org.freedesktop.resolve1.service': Unit 
dbus-org.freedesktop.resolve1.service not found.

networkctl status eth0
* 2: eth0
       Link File: /lib/systemd/network/99-default.link
    Network File: /etc/systemd/network/05-eth0.network
            Type: ether
           State: routable (configured)
            Path: xen-vif-0
          Driver: vif
      HW Address: 00:16:3e:46:16:e2 (Xensource, Inc.)
         Address: 192.168.2.196
                  fe80::216:3eff:fe46:16e2
         Gateway: 192.168.2.1 (PC Engines GmbH)
             DNS: 192.168.2.1

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1703640

Title:
  nplan and libnss-resolve should be in same dependency

Status in systemd package in Ubuntu:
  Triaged

Bug description:
  I am filing this under nplan because I don't know what better anchor
  to use. I discovered for systems which I bring up by using debootstrap
  and then extend that installation to be bootable, I end up with nplan
  installed but not libnss-resolve. This results in broken DNS
  resolution when starting to use nplan.

  It looks like nplan is a dependency of ubuntu-minimal but libnss-
  resolve is only in ubuntu-standard. But it is also required when using
  networkd as renderer for netplan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1703640/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to