[Bug 711425] Re: portmap does not stop during shutdown, causing possible root fs corruption
Launchpad Bug Tracker
711425 at bugs.launchpad.net
Fri Jan 20 10:46:51 UTC 2012
** Branch linked: lp:ubuntu/lucid-proposed/portmap
--
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 Committed
Status in “sysvinit” source package in Lucid:
Fix Committed
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