[Bug 672177] Re: libc6 upgrade causes umount to fail on shutdown because init cannot be restarted

Clint Byrum clint at fewbar.com
Tue Dec 20 17:47:58 UTC 2011


The best way to try and figure out what is causing this is to modify
/etc/init.d/umountroot and right before the umount's, add

/usr/bin/lsof -n > /saved.root.lsof
sync

This will save a listing of all opened files and which processes have
them open. Things marked as 'deleted' in this list are generally the
problem. If you see libc6.so opened by upstart, then this bug has
regressed. Otherwise, it is probably something else.

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

Title:
  libc6 upgrade causes umount to fail on shutdown because init cannot be
  restarted

Status in Upstart:
  Invalid
Status in “eglibc” package in Ubuntu:
  Fix Released
Status in “sysvinit” package in Ubuntu:
  Fix Released
Status in “upstart” package in Ubuntu:
  Fix Released
Status in “eglibc” source package in Lucid:
  Fix Released
Status in “sysvinit” source package in Lucid:
  Fix Released
Status in “upstart” source package in Lucid:
  Fix Released
Status in “eglibc” source package in Maverick:
  Fix Released
Status in “sysvinit” source package in Maverick:
  Fix Released
Status in “upstart” source package in Maverick:
  Fix Released
Status in “eglibc” source package in Natty:
  Fix Released
Status in “sysvinit” source package in Natty:
  Fix Released
Status in “upstart” source package in Natty:
  Fix Released

Bug description:
  On a clean install of Ubuntu 10.04.1, after upgrading the offer libc6
  upgrade, on the next reboot the root fs can't be properly unmounted
  (mount: / is busy). This causes fsck to run on boot and of course some
  minor issues with the filesystem. This might not be a problem with
  libc6 itself, but a side effect of upgrading in combination with some
  other package (I suspect the init process, so I guess upstart).

  The fsck run, and the orphaned inodes it finds are holding me back
  from installing this on a new server - especially since this already
  happens on a clean install of 10.04.1!

  paul at ubuntu:~$ lsb_release -rd
  Description:    Ubuntu 10.04.1 LTS
  Release:        10.04

  ii  libc6                           2.11.1-0ubuntu7.2
  Embedded GNU C Library: Shared libraries

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: libc6 2.11.1-0ubuntu7.2
  ProcVersionSignature: Ubuntu 2.6.32-24.39-server 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-server x86_64
  Architecture: amd64
  Date: Sun Nov  7 16:17:07 2010
  InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: eglibc

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/672177/+subscriptions




More information about the foundations-bugs mailing list