[Bug 1648068] [NEW] systemd-resolved.service hangs a long time on shutdown

Martin Pitt martin.pitt at ubuntu.com
Wed Dec 7 12:56:28 UTC 2016


Public bug reported:

On shutdown or "systemctl stop systemd-resolved" you get a long hang:

● systemd-resolved.service - Network Name Resolution
   CGroup: /system.slice/systemd-resolved.service
           └─control
             ├─15479 /bin/sh -c [ ! -e /run/resolvconf/enable-updates ] || /sbin/resolvconf -d systemd-resolved
             ├─15480 run-parts --arg=-d --arg=systemd-resolved /etc/resolvconf/update.d
             ├─15483 run-parts /etc/resolvconf/update-libc.d
             ├─15497 /bin/sh /usr/lib/avahi/avahi-daemon-check-dns.sh
             └─15509 host -t soa local.

So that resolvconf hook tries to do name resolution which does not work
any more at that time.

** Affects: systemd (Ubuntu)
     Importance: Medium
         Status: Triaged


** Tags: resolved

** Tags added: resolved

** Summary changed:

- systemd-resolved hangs a long time on shutdown
+ systemd-resolved.service hangs a long time on shutdown

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1648068

Title:
  systemd-resolved.service hangs a long time on shutdown

Status in systemd package in Ubuntu:
  Triaged

Bug description:
  On shutdown or "systemctl stop systemd-resolved" you get a long hang:

  ● systemd-resolved.service - Network Name Resolution
     CGroup: /system.slice/systemd-resolved.service
             └─control
               ├─15479 /bin/sh -c [ ! -e /run/resolvconf/enable-updates ] || /sbin/resolvconf -d systemd-resolved
               ├─15480 run-parts --arg=-d --arg=systemd-resolved /etc/resolvconf/update.d
               ├─15483 run-parts /etc/resolvconf/update-libc.d
               ├─15497 /bin/sh /usr/lib/avahi/avahi-daemon-check-dns.sh
               └─15509 host -t soa local.

  So that resolvconf hook tries to do name resolution which does not
  work any more at that time.

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



More information about the foundations-bugs mailing list