2013-08-23 12:37:08 |
Tetsuo Handa |
bug |
|
|
added bug |
2013-08-26 01:43:32 |
Tetsuo Handa |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=655857 |
|
2013-08-26 12:21:28 |
Martin Pitt |
initramfs-tools (Ubuntu): importance |
Undecided |
Medium |
|
2013-08-26 12:21:28 |
Martin Pitt |
initramfs-tools (Ubuntu): status |
New |
Triaged |
|
2013-08-26 12:30:31 |
Martin Pitt |
initramfs-tools (Ubuntu): status |
Triaged |
Fix Committed |
|
2013-08-26 12:30:38 |
Martin Pitt |
initramfs-tools (Ubuntu): assignee |
|
Martin Pitt (pitti) |
|
2013-08-26 12:59:51 |
Launchpad Janitor |
initramfs-tools (Ubuntu): status |
Fix Committed |
Fix Released |
|
2013-09-05 21:25:15 |
Chris J Arges |
nominated for series |
|
Ubuntu Precise |
|
2013-09-05 21:25:15 |
Chris J Arges |
bug task added |
|
initramfs-tools (Ubuntu Precise) |
|
2013-09-05 21:25:15 |
Chris J Arges |
nominated for series |
|
Ubuntu Quantal |
|
2013-09-05 21:25:15 |
Chris J Arges |
bug task added |
|
initramfs-tools (Ubuntu Quantal) |
|
2013-09-05 21:25:15 |
Chris J Arges |
nominated for series |
|
Ubuntu Raring |
|
2013-09-05 21:25:15 |
Chris J Arges |
bug task added |
|
initramfs-tools (Ubuntu Raring) |
|
2013-09-05 21:25:23 |
Chris J Arges |
initramfs-tools (Ubuntu Precise): assignee |
|
Chris J Arges (arges) |
|
2013-09-05 21:25:24 |
Chris J Arges |
initramfs-tools (Ubuntu Quantal): assignee |
|
Chris J Arges (arges) |
|
2013-09-05 21:25:26 |
Chris J Arges |
initramfs-tools (Ubuntu Raring): assignee |
|
Chris J Arges (arges) |
|
2013-09-05 21:25:28 |
Chris J Arges |
initramfs-tools (Ubuntu Precise): importance |
Undecided |
Medium |
|
2013-09-05 21:25:31 |
Chris J Arges |
initramfs-tools (Ubuntu Quantal): importance |
Undecided |
Medium |
|
2013-09-05 21:25:33 |
Chris J Arges |
initramfs-tools (Ubuntu Raring): importance |
Undecided |
Medium |
|
2013-09-05 21:25:35 |
Chris J Arges |
initramfs-tools (Ubuntu Precise): status |
New |
In Progress |
|
2013-09-05 21:25:38 |
Chris J Arges |
initramfs-tools (Ubuntu Quantal): status |
New |
In Progress |
|
2013-09-05 21:25:40 |
Chris J Arges |
initramfs-tools (Ubuntu Raring): status |
New |
In Progress |
|
2013-09-05 21:27:01 |
Chris J Arges |
attachment added |
|
fix-precise-lp1216911.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1215911/+attachment/3804770/+files/fix-precise-lp1216911.debdiff |
|
2013-09-05 21:27:13 |
Chris J Arges |
attachment added |
|
fix-quantal-lp1216911.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1215911/+attachment/3804771/+files/fix-quantal-lp1216911.debdiff |
|
2013-09-05 21:27:24 |
Chris J Arges |
attachment added |
|
fix-raring-lp1216911.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1215911/+attachment/3804772/+files/fix-raring-lp1216911.debdiff |
|
2013-09-05 21:40:45 |
Chris J Arges |
description |
Moving the discussion from http://www.spinics.net/lists/hotplug/msg05769.html
to launchpad, for I think that this bug needs to be handled in initramfs-tools
package rather than in udev package.
----------
I'm experiencing random boot failures with wait-for-root utility in Ubuntu
12.04 ( ubuntu-12.04-server-amd64.iso ) on a HP ProLiant DL360p Gen8 server.
For example, wait-for-root waited for only 0.13 seconds before giving up at
FSTYPE=$(wait-for-root "${ROOT}" ${ROOTDELAY:-30})
line in scripts/local in the initramfs, and immediately enters into
panic "ALERT! ${ROOT} does not exist. Dropping to a shell!"
line.
This is a race condition and manually entering "exit" from the panic prompt
boots the system normally. This is a critical bug for this environment because
it will randomly fail to perform unattended reboot (e.g. automatic reboot after
saving kdump).
----------
I examined main() in wait-for-root using debug fprintf() and it turned out that
udev_monitor_receive_device() is sometimes immediately returning NULL (although
wait-for-root is using blocking socket).
I examined udev_monitor_receive_device() in libudev.so.0 using debug fprintf()
and it turned out that recvmsg() in udev_monitor_receive_device() (which is in
libudev-monitor.c in udev package) is returning ENOBUFS error before recvmsg()
returns information of the root partition.
The wait-for-root utility in initramfs-tools package is not expecting recvmsg()
to return ENOBUFS error. But since ENOBUFS is an inevitable error, I think that
wait-for-root (i.e. the caller of udev_monitor_receive_device()) should handle
this error. |
SRU Justification:
[Impact]
* Boot failures can occur with the wait-for-root utility in P/Q/R due to a race condition.
* Because of this issue unattended reboots and boots can randomly fail.
* The original bug was submitted against Precise LTS.
[Test Case]
* Reboot machine and look for "ALERT! /dev/sda1 does not exist. Dropping to a shell!". Entering exit from prompt should boot system normally.
* We expect that continuous reboots should allow for the machine to boot normally without this alert.
[Regression Potential]
* This patch has already been uploaded into Saucy, and tested.
--
Moving the discussion from http://www.spinics.net/lists/hotplug/msg05769.html
to launchpad, for I think that this bug needs to be handled in initramfs-tools
package rather than in udev package.
----------
I'm experiencing random boot failures with wait-for-root utility in Ubuntu
12.04 ( ubuntu-12.04-server-amd64.iso ) on a HP ProLiant DL360p Gen8 server.
For example, wait-for-root waited for only 0.13 seconds before giving up at
FSTYPE=$(wait-for-root "${ROOT}" ${ROOTDELAY:-30})
line in scripts/local in the initramfs, and immediately enters into
panic "ALERT! ${ROOT} does not exist. Dropping to a shell!"
line.
This is a race condition and manually entering "exit" from the panic prompt
boots the system normally. This is a critical bug for this environment because
it will randomly fail to perform unattended reboot (e.g. automatic reboot after
saving kdump).
----------
I examined main() in wait-for-root using debug fprintf() and it turned out that
udev_monitor_receive_device() is sometimes immediately returning NULL (although
wait-for-root is using blocking socket).
I examined udev_monitor_receive_device() in libudev.so.0 using debug fprintf()
and it turned out that recvmsg() in udev_monitor_receive_device() (which is in
libudev-monitor.c in udev package) is returning ENOBUFS error before recvmsg()
returns information of the root partition.
The wait-for-root utility in initramfs-tools package is not expecting recvmsg()
to return ENOBUFS error. But since ENOBUFS is an inevitable error, I think that
wait-for-root (i.e. the caller of udev_monitor_receive_device()) should handle
this error. |
|
2013-09-05 21:40:57 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2013-09-05 21:41:03 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2013-09-16 13:36:31 |
Marc Deslauriers |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2013-09-17 17:08:17 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto MURATA |
2013-09-19 19:36:48 |
Brian Murray |
initramfs-tools (Ubuntu Raring): status |
In Progress |
Fix Committed |
|
2013-09-19 19:36:52 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2013-09-19 19:36:54 |
Brian Murray |
tags |
|
verification-needed |
|
2013-09-19 19:38:00 |
Brian Murray |
initramfs-tools (Ubuntu Quantal): status |
In Progress |
Fix Committed |
|
2013-09-19 19:38:52 |
Brian Murray |
initramfs-tools (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2013-10-07 22:45:36 |
Dave Chiluk |
bug |
|
|
added subscriber Dave Chiluk |
2013-10-10 15:17:05 |
Dave Chiluk |
tags |
verification-needed |
verification-done-precise verification-needed |
|
2013-10-10 15:42:49 |
Dave Chiluk |
tags |
verification-done-precise verification-needed |
verification-done-precise verification-done-quantal verification-needed |
|
2013-10-10 15:43:13 |
Dave Chiluk |
tags |
verification-done-precise verification-done-quantal verification-needed |
verification-done-precise verification-done-quantal verification-done-raring verification-needed |
|
2013-10-10 15:44:26 |
Dave Chiluk |
tags |
verification-done-precise verification-done-quantal verification-done-raring verification-needed |
verification-done verification-done-precise verification-done-quantal verification-done-raring |
|
2013-10-10 16:58:09 |
Brian Murray |
bug |
|
|
added subscriber Brian Murray |
2013-10-25 06:14:02 |
Launchpad Janitor |
initramfs-tools (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2013-10-25 06:14:08 |
Steve Langasek |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2013-10-25 06:14:31 |
Launchpad Janitor |
initramfs-tools (Ubuntu Quantal): status |
Fix Committed |
Fix Released |
|
2013-10-25 06:14:55 |
Launchpad Janitor |
initramfs-tools (Ubuntu Raring): status |
Fix Committed |
Fix Released |
|
2014-05-13 09:10:55 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/initramfs-tools |
|
2014-05-13 09:12:07 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/raring-proposed/initramfs-tools |
|