[Bug 711425] Re: portmap does not stop during shutdown, causing possible root fs corruption

Launchpad Bug Tracker 711425 at bugs.launchpad.net
Mon Jan 30 06:27:07 UTC 2012


This bug was fixed in the package portmap - 6.0.0-1ubuntu2.2

---------------
portmap (6.0.0-1ubuntu2.2) lucid-proposed; urgency=low

  * debian/portmap.upstart: stop on unmounted-remote-filesystems, a new
    event emitted by umountnfs.sh. (LP: #711425)
  * d/control: Use versioned dep on initscripts to ensure portmap is
    stopped at the appropriate moment.
 -- Clint Byrum <clint at ubuntu.com>   Fri, 20 Jan 2012 01:37:05 -0800

** Changed in: portmap (Ubuntu Lucid)
       Status: Fix Committed => Fix Released

** Changed in: sysvinit (Ubuntu Lucid)
       Status: Fix Committed => Fix Released

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

Title:
  portmap does not stop during shutdown, causing possible root fs
  corruption

Status in “portmap” package in Ubuntu:
  Fix Released
Status in “sysvinit” package in Ubuntu:
  Fix Released
Status in “portmap” source package in Lucid:
  Fix Released
Status in “sysvinit” source package in Lucid:
  Fix Released
Status in “portmap” source package in Maverick:
  Won't Fix
Status in “sysvinit” source package in Maverick:
  Won't Fix

Bug description:
  = SRU JUSTIFICATION =

  = IMPACT =

  This bug can cause data corruption in rare cases, and at the very
  least, forces fsck on reboot unnecessarily.

  = TEST CASE: =

  1. apt-get install portmap
  2. apt-get install libc6 --reinstall
  3. reboot
  4. affected systems will show orphaned inodes in 'dmesg' on the next boot. fixed systems should not.

  Binary package hint: portmap

  This is related, but not the same, as bug #672177

  portmap should be stopped as soon as it is no longer needed, which is
  right after NFS filesystems are unmounted. The unmounting is done by
  unmountnfs.sh from sysvinit. It properly defines an LSB header to say
  that portmap should be stopped after it. The trouble is that nothing
  interprets this header anymore as upstart does not support this method
  of shutdown.

  When libc6 is upgraded, this means portmap keeps /lib/libc.so.xxxxx
  open, and so / cannot be remounted as readonly, causing filesystem
  corruption (this was reported in the comments of bug #672177 by
  "ingo".

  So portmap should define an event to stop on and sysvinit should emit
  that event when it happens.

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




More information about the foundations-bugs mailing list