[Bug 1010045] Re: 12.04 hangs on shutdown deconfiguring network interfaces

Steffen Sledz 1010045 at bugs.launchpad.net
Thu Apr 11 09:43:11 UTC 2013


We hit this problem too. After some investigations i could find at least
one cause (it seems to be bind9).

Running the final "ifdown -a --exclude=lo" in /etc/init.d/networking a
bit more verbose showed that the call of

  /etc/network/if-down.d/bind9

does not return. The script just calls "rndc reconfig". The problem is
that the named is not running at this moment any longer because it was
stopped before.

If i call "rndc -V reconfig" without a running named i see this

-----------> snip <------------
create memory context
create socket manager
create task manager
create task
create logging context
setting log tag
creating log channel
enabling log channel
create parser
get key
decode base64 secret
reconfig
post event
using server 127.0.0.1 (127.0.0.1#953)
create socket
bind socket
connect
-----------> snip <------------

So it seems that the connect does not return.

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

Title:
  12.04 hangs on shutdown deconfiguring network interfaces

Status in “ifupdown” package in Ubuntu:
  Expired

Bug description:
  When shutting down the 12.04 guest, it hangs on "Deconfiguring network
  interfaces...", when there are multiple networkcards.

  The system is going down for halt NOW!
   * Stopping web server apache2                                           [ OK ]  ... waiting 
   * Stopping Bacula File daemon...                                        [ OK ] 
  Checking for running unattended-upgrades: 
   * Running nssldap-update-ignoreusers...                                 [ OK ] 
   * Stopping Name Service Cache Daemon nscd                               [ OK ] 
   * Stopping Postfix Mail Transport Agent postfix                         [ OK ] 
   * Stopping ftp server proftpd                                           [ OK ] 
   * Asking all remaining processes to terminate...                        [ OK ] 
   * All processes ended within 2 seconds....                              [ OK ] 
  rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w"
   * Deconfiguring network interfaces...                                          

  <hang>

  We only have this issue when a vm has multiple network cards assigned.
  When we do a manual "/etc/init.d/network stop; halt", the vm shuts down like expected.

  dpkg -l | grep ifupdown
  ii  ifupdown                         0.7~beta2ubuntu8              high level tools to configure network interfaces

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




More information about the foundations-bugs mailing list