[Bug 952315] Re: root filesystem not cleanly unmounted on reboot
Steven Farmer
952315 at bugs.launchpad.net
Thu Mar 22 22:26:15 UTC 2012
I think I understand what's going on now. In looking over
/saved.root.lsof more carefully, I see that the DEL libc .so files are
also associated with dhclient. And I was just lucky before that
dhclient stayed dead long enough for the reboot. It gets respawned, I
believe by NetworkManager.
It looks like dhclient is started by NetworkManager with a -pf arg that
makes dhclient write his (dhclient's) pid into a file in the directory
/var/run/sendsigs.omit.d/. When the system is being brought down,
/etc/init.d/sendsigs collects that pid into an "ignore" list, thus
declining to kill dhclient. The result is that dhclient has files held
open when the system goes down, leading to the "mount: / is busy"
console message, and also to orphaned inodes if libc happened to have
been updated.
I removed network-manager* and installed wicd-gtk and dependencies. Now
I can reinstall libc6 and reboot with *no* busy message and *no*
orphaned inodes.
So, IMHO the blame lies with NetworkManager and not with upstart.
--
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