[Bug 711425] Re: portmap does not stop during shutdown, causing possible root fs corruption
Dave Walker
davewalker at ubuntu.com
Thu Mar 3 00:35:16 UTC 2011
@Clint, your debdiff for sysvinit FTBFS:
gcc -ansi -W -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE -c -o bootlogd.o bootlogd.c
bootlogd.c: In function 'consolename':
bootlogd.c:264:15: error: 'ENOIOCTLCMD' undeclared (first use in this function)
bootlogd.c:264:15: note: each undeclared identifier is reported only once for each function it appears in
bootlogd.c: In function 'findtty':
bootlogd.c:116:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
bootlogd.c:131:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
bootlogd.c:142:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
bootlogd.c:147:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
bootlogd.c:154:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
make[1]: *** [bootlogd.o] Error 1
make[1]: Leaving directory `/tmp/buildd/sysvinit-2.87dsf/src'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
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:
In Progress
Status in “portmap” source package in Lucid:
Triaged
Status in “sysvinit” source package in Lucid:
Triaged
Status in “portmap” source package in Maverick:
Triaged
Status in “sysvinit” source package in Maverick:
Triaged
Bug description:
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.
More information about the Ubuntu-sponsors
mailing list