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

Tais Plougmann Hansen 1010045 at bugs.launchpad.net
Wed Dec 12 15:35:22 UTC 2012


@stgraber
That's oversimplifying things a bit. :)

As the OP, our servers have several interfaces which gives a server
access to various subnets. One of these holds the ldap auth servers. If
this interface is downed first, resolvconf will hang for ldap.conf
TIMEOUT time for every other interface downed. When they're all down (or
any default or matching subnet routes), resolvconf/getent passwd returns
immediately.

So... In my case, reducing the /etc/ldap.conf /etc/ldap/ldap.conf
timeouts or adding a blackhole route with a high metric value matching
the ldap subnets would work around this.

As such it can't be categorized as a bug. When I initially chimed in,
the problem was masking the infamous scsi kernel softlockup bug.

I'm still puzzled over the nss query resolvconf is triggering. I cannot
reproduce it with getent password or similar lookups. For whatever
reason resolvconf triggers a query looking for a posixaccount with
uid=\2a (uid="*"), which returns 0 results.

-- 
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:
  Incomplete

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