I have the same (or a similar) problem on a system with a wired ethernet
connection.

Using the debug-shell I found that the shutdown was hanging on a call of

  /bin/sh /sbin/resolvconf -d enp0s25.inet

Here enp0s25 is the ethernet interface. It has a static configuration
that contains "dns-nameservers" and "dns-search" lines.

Adding some diagnostic output to /sbin/resolvconf I found that it seems
to hang in the case statement that spans lines 31 to 37. After some
trial and error I change the pattern in line 36 from

  ~*

to

  '~'*

With this change shutdown now proceeds smoothly.

I'm not an expert shell programmer, so I don't know why the change has
this effect. Looks almost like some obscure dash bug to me.

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

Title:
  diskless setup with nfs mounted home hangs on shutdown/reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1594658/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to