[Bug 952315] Re: root filesystem not cleanly unmounted on reboot
Steven Farmer
952315 at bugs.launchpad.net
Thu Mar 22 19:06:04 UTC 2012
Looks to me like there are two separate problems.
The first may be a regression of Bug #672177 for which a fix was
supposedly released ca April 2011. Upgrading or re-installing libc6
results in orphaned inodes:
$ sudo apt-get install --reinstall libc6 && sudo shudown -r now
I put '/usr/sbin/lsof -n > /saved.root.lsof' in /etc/init.d/umountroot
just before the root filesystem is remounted read-only. The result
shows open files of type 'DEL' for several libc .so files. These are
probably the files assocated with the orphaned inodes. fsck must be
smart enough to know that the files were deleted so it doesn't put
anything into /lost+found.
The second problem is the "mount: / is busy" console message on every
reboot. The /saved.root.lsof file shows that dhclient is still holding
a dhcp lease file open for write when umountroot is invoked. Doing
'sudo killall dhclient' before the reboot eliminates the message. I
couldn't find an already opened bug report for this; if someone else
could have a try I'd appreciate it.
Both of these problems are probably benign, but before I trust my data
to 12.04, I'd certainly like to hear someone smarter than me say so.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/952315
Title:
root filesystem not cleanly unmounted on reboot
Status in Upstart:
New
Status in “upstart” package in Ubuntu:
Confirmed
Bug description:
12.04 beta, updated as of 11March2012.
The message "mount: / busy" is seen as the system is shut down.
During the reboot, messages from fsck regarding recovery of orphaned
inodes are seen in the console. These messages appear in kern.log:
steve at precise:~$ grep -i orphan /var/log/kern.log
Mar 11 09:29:00 precise kernel: [ 12.398913] EXT4-fs (sda1): orphan cleanup on readonly fs
Mar 11 09:29:00 precise kernel: [ 12.399492] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 141316
Mar 11 09:29:00 precise kernel: [ 12.409021] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 267343
Mar 11 09:29:00 precise kernel: [ 12.409450] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 267325
Mar 11 09:29:00 precise kernel: [ 12.410062] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 267319
Mar 11 09:29:00 precise kernel: [ 12.410111] EXT4-fs (sda1): 4 orphan inodes deleted
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upstart 1.4-0ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
Uname: Linux 3.2.0-18-generic i686
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
Date: Sun Mar 11 09:23:29 2012
ExecutablePath: /sbin/init
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
SourcePackage: upstart
UpgradeStatus: Upgraded to precise on 2012-03-02 (8 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/952315/+subscriptions
More information about the foundations-bugs
mailing list