>I suspect that the fallout of this is that the filesystem is not unmounted and thus not clean, right?
Correct. This results in orphaned inodes on reboot. Touching
/var/run/init.upggraded is a possible solution. This will cause init
to respawn on shutdown.
You have reproduced the bug. The problem isn't that the system doesn't
shut down. The problem is an unclean filesystem.
Thanks for starting to take a look.
On 4/18/11, Scott Moser <email address hidden> wrote:
> I'm unable to reproduce this bug.
>
> The ami given (ami-30669459
> ubuntu-images-testing/ubuntu-natty-daily-amd64-server-20110321) is no longer
> public.
> I've tried running the latest daily :
> us-east-1 ami-d8e21eb1 canonical ubuntu-natty-daily-i386-server-20110418
>
> then doing:
> $ sudo apt-get update
> $ sudo apt-get install --reinstall libdbus-1-3
> $ sudo shutdown -h now
>
> I can see the '/ is busy' message in the console out, but the instance
> *does* go to terminated.
>
> I suspect that the fallout of this is that the filesystem is not
> unmounted and thus not clean, right?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/740390
>
> Title:
> libdbus-1-3 upgrade does not respawn init, resulting in unclean
> shutdown
>
> Status in Official Ubuntu Images on EC2:
> Invalid
> Status in “dbus” package in Ubuntu:
> New
>
> Bug description:
> Binary package hint: dbus
>
> Steps to reproduce:
> 1. Start 20110321 daily build on Amazon EC2.
> ami-30669459
> ubuntu-images-testing/ubuntu-natty-daily-amd64-server-20110321
> 2. SSH.
> 3. sudo apt-get update
> 4. To simulate an upgrade, sudo apt-get --reinstall install libdbus-1-3
> libdbus-1-3_1.4.6-1ubuntu6 is reinstalled.
> 5. sudo lsof yields (snipped)
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE
> NAME
> init 1 root DEL REG 202,1 134262
> /lib/x86_64-linux-gnu/libdbus-1.so.3.5.4
> upstart-u 201 root DEL REG 202,1 134262
> /lib/x86_64-linux-gnu/libdbus-1.so.3.5.4
> upstart-s 369 root DEL REG 202,1 134262
> /lib/x86_64-linux-gnu/libdbus-1.so.3.5.4
> 6. sudo shutdown -h now
> Error:
> mount: / is busy
>
> Possible solution: touch /var/run/init.upgraded in package postinst to
> force init to respawn/close open files at shutdown. This is checked in
> /etc/rc[06].d/S60umountroot. See bug 672177 for a similar situation
> with libc6.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu-on-ec2/+bug/740390/+subscribe
>
>I suspect that the fallout of this is that the filesystem is not unmounted and thus not clean, right?
Correct. This results in orphaned inodes on reboot. Touching init.upggraded is a possible solution. This will cause init
/var/run/
to respawn on shutdown.
You have reproduced the bug. The problem isn't that the system doesn't
shut down. The problem is an unclean filesystem.
Thanks for starting to take a look.
On 4/18/11, Scott Moser <email address hidden> wrote: images- testing/ ubuntu- natty-daily- amd64-server- 20110321) is no longer natty-daily- i386-server- 20110418 /bugs.launchpad .net/bugs/ 740390 images- testing/ ubuntu- natty-daily- amd64-server- 20110321 1-3_1.4. 6-1ubuntu6 is reinstalled. 64-linux- gnu/libdbus- 1.so.3. 5.4 64-linux- gnu/libdbus- 1.so.3. 5.4 64-linux- gnu/libdbus- 1.so.3. 5.4 init.upgraded in package postinst to 06].d/S60umount root. See bug 672177 for a similar situation /bugs.launchpad .net/ubuntu- on-ec2/ +bug/740390/ +subscribe
> I'm unable to reproduce this bug.
>
> The ami given (ami-30669459
> ubuntu-
> public.
> I've tried running the latest daily :
> us-east-1 ami-d8e21eb1 canonical ubuntu-
>
> then doing:
> $ sudo apt-get update
> $ sudo apt-get install --reinstall libdbus-1-3
> $ sudo shutdown -h now
>
> I can see the '/ is busy' message in the console out, but the instance
> *does* go to terminated.
>
> I suspect that the fallout of this is that the filesystem is not
> unmounted and thus not clean, right?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https:/
>
> Title:
> libdbus-1-3 upgrade does not respawn init, resulting in unclean
> shutdown
>
> Status in Official Ubuntu Images on EC2:
> Invalid
> Status in “dbus” package in Ubuntu:
> New
>
> Bug description:
> Binary package hint: dbus
>
> Steps to reproduce:
> 1. Start 20110321 daily build on Amazon EC2.
> ami-30669459
> ubuntu-
> 2. SSH.
> 3. sudo apt-get update
> 4. To simulate an upgrade, sudo apt-get --reinstall install libdbus-1-3
> libdbus-
> 5. sudo lsof yields (snipped)
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE
> NAME
> init 1 root DEL REG 202,1 134262
> /lib/x86_
> upstart-u 201 root DEL REG 202,1 134262
> /lib/x86_
> upstart-s 369 root DEL REG 202,1 134262
> /lib/x86_
> 6. sudo shutdown -h now
> Error:
> mount: / is busy
>
> Possible solution: touch /var/run/
> force init to respawn/close open files at shutdown. This is checked in
> /etc/rc[
> with libc6.
>
> To unsubscribe from this bug, go to:
> https:/
>