Activity log for bug #696435

Date Who What changed Old value New value Message
2011-01-02 10:40:08 Alkis Georgopoulos bug added bug
2011-01-02 10:40:31 Alkis Georgopoulos bug task added initramfs-tools (Ubuntu)
2011-04-12 04:04:28 Nuno Sucena Almeida bug added subscriber Nuno Sucena Almeida
2014-03-20 23:02:39 Serge Hallyn initramfs-tools (Ubuntu): status New Invalid
2014-03-20 23:02:42 Serge Hallyn nbd (Ubuntu): status New Invalid
2014-03-21 04:45:18 Alkis Georgopoulos nbd (Ubuntu): status Invalid New
2014-03-21 04:45:40 Alkis Georgopoulos initramfs-tools (Ubuntu): status Invalid New
2014-05-07 12:10:31 Alkis Georgopoulos bug watch added https://bugs.freedesktop.org/show_bug.cgi?id=62565
2014-05-28 08:36:46 Launchpad Janitor initramfs-tools (Ubuntu): status New Confirmed
2014-05-28 08:36:46 Launchpad Janitor nbd (Ubuntu): status New Confirmed
2017-01-20 00:12:20 Joshua Powers bug added subscriber Ubuntu Server Team
2017-06-08 17:45:13 Christian Ehrhardt  tags bot-stop-nagging
2017-06-09 18:04:16 Christian Ehrhardt  affects initramfs-tools (Ubuntu) linux (Ubuntu)
2017-06-09 18:04:34 Christian Ehrhardt  bug task added systemd (Ubuntu)
2017-06-09 18:05:25 Christian Ehrhardt  linux (Ubuntu): status Confirmed New
2017-06-09 18:05:32 Christian Ehrhardt  nbd (Ubuntu): status Confirmed Invalid
2017-06-09 18:05:41 Christian Ehrhardt  nominated for series Ubuntu Xenial
2017-06-09 18:05:41 Christian Ehrhardt  bug task added nbd (Ubuntu Xenial)
2017-06-09 18:05:41 Christian Ehrhardt  bug task added linux (Ubuntu Xenial)
2017-06-09 18:05:41 Christian Ehrhardt  bug task added systemd (Ubuntu Xenial)
2017-06-09 18:06:33 Christian Ehrhardt  bug task deleted nbd (Ubuntu Xenial)
2017-06-09 18:10:17 Christian Ehrhardt  systemd (Ubuntu): status New Fix Released
2017-06-09 18:10:21 Christian Ehrhardt  linux (Ubuntu): status New Fix Released
2017-06-09 18:10:27 Christian Ehrhardt  removed subscriber Ubuntu Server Team
2017-09-04 16:06:24 Dimitri John Ledkov systemd (Ubuntu Xenial): status New Incomplete
2017-09-04 16:07:22 Dimitri John Ledkov linux (Ubuntu Xenial): assignee Canonical Kernel (canonical-kernel)
2017-09-29 17:26:53 Francis Ginther tags bot-stop-nagging bot-stop-nagging id-594d1970df3ec53730c0d28c
2017-10-02 19:33:28 Joseph Salisbury linux (Ubuntu Xenial): status New In Progress
2017-10-02 19:33:32 Joseph Salisbury linux (Ubuntu Xenial): importance Undecided Medium
2017-10-02 19:33:36 Joseph Salisbury linux (Ubuntu Xenial): assignee Canonical Kernel (canonical-kernel) Joseph Salisbury (jsalisbury)
2017-10-11 19:13:57 Joseph Salisbury tags bot-stop-nagging id-594d1970df3ec53730c0d28c bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key
2017-10-16 15:54:01 Dimitri John Ledkov description When using an nbd root, wait-for-root blocks for 30 seconds before booting continues successfully. Using Ubuntu Natty, related packages versions: nbd-client 1:2.9.16-6ubuntu1 initramfs-tools 0.98.1ubuntu9 The wait-for-root call from /usr/share/initramfs-tools/scripts/local: while [ -z "${FSTYPE}" ]; do FSTYPE=$(wait-for-root "${ROOT}" ${ROOTDELAY:-30}) # Run failure hooks, hoping one of them can fix up the system # and we can restart the wait loop. If they all fail, abort # and move on to the panic handler and shell. if [ -z "${FSTYPE}" ] && ! try_failure_hooks; then break fi done I replaced wait-for-root with a sh script that did `set >&2`, here are the relevant environment variables at the time wait-for-root was called: ROOT='/dev/nbd0' ROOTDELAY='' ROOTFLAGS='' ROOTFSTYPE='' nbdroot='192.168.0.1,2011' It's probably worth noting that "nbd0: unknown partition table" was displayed asynchronously 1-2 seconds after wait-for-root was invoked and while it was still waiting. But I tried adding a "sleep 5" as the last line of local-top/nbd, so that the nbd message was displayed a lot before wait-for-root was called, and it didn't make a difference. So I don't think a race condition is involved in this problem. Temporarily I'm passing rootdelay=1 in the kernel command line to work around the problem. [Impact] Kernel does not generate any events when ndb-client connects /dev/nbd0 devices, therefore it is impossible to monitor/react to the state of /dev/nbd0. [Fix] Generate change uevent when size of /dev/nbd0 changes [Testcase] * Start udevadm monitor * modprobe nbd * use ndb-client to connect something to /dev/nbd0 * observe that there are change udev events generated on /dev/nbd0 itself [Regression Potential] There is no change to existing uevents, or their ordering. There is now an addition change event which will cause systemd to mark ndb devices as ready and trigger appropriate actions [Original Bug Report] When using an nbd root, wait-for-root blocks for 30 seconds before booting continues successfully. Using Ubuntu Natty, related packages versions:     nbd-client 1:2.9.16-6ubuntu1     initramfs-tools 0.98.1ubuntu9 The wait-for-root call from /usr/share/initramfs-tools/scripts/local:  while [ -z "${FSTYPE}" ]; do   FSTYPE=$(wait-for-root "${ROOT}" ${ROOTDELAY:-30})   # Run failure hooks, hoping one of them can fix up the system   # and we can restart the wait loop. If they all fail, abort   # and move on to the panic handler and shell.   if [ -z "${FSTYPE}" ] && ! try_failure_hooks; then    break   fi  done I replaced wait-for-root with a sh script that did `set >&2`, here are the relevant environment variables at the time wait-for-root was called: ROOT='/dev/nbd0' ROOTDELAY='' ROOTFLAGS='' ROOTFSTYPE='' nbdroot='192.168.0.1,2011' It's probably worth noting that "nbd0: unknown partition table" was displayed asynchronously 1-2 seconds after wait-for-root was invoked and while it was still waiting. But I tried adding a "sleep 5" as the last line of local-top/nbd, so that the nbd message was displayed a lot before wait-for-root was called, and it didn't make a difference. So I don't think a race condition is involved in this problem. Temporarily I'm passing rootdelay=1 in the kernel command line to work around the problem.
2017-10-31 14:27:39 Thadeu Lima de Souza Cascardo linux (Ubuntu Xenial): status In Progress Fix Committed
2017-11-07 14:22:05 Dimitri John Ledkov systemd (Ubuntu Xenial): status Incomplete Confirmed
2017-11-08 12:50:19 Kleber Sacilotto de Souza tags bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key verification-needed-xenial
2017-11-13 12:13:05 Dimitri John Ledkov tags bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key verification-needed-xenial bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key verification-done-xenial
2017-11-20 11:53:03 Launchpad Janitor linux (Ubuntu Xenial): status Fix Committed Fix Released
2017-11-20 11:53:04 Launchpad Janitor linux (Ubuntu Xenial): status Fix Committed Fix Released
2018-02-20 15:30:26 Dimitri John Ledkov systemd (Ubuntu Xenial): status Confirmed In Progress
2018-03-08 17:33:45 Brian Murray systemd (Ubuntu Xenial): status In Progress Fix Committed
2018-03-08 17:33:48 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2018-03-08 17:33:51 Brian Murray bug added subscriber SRU Verification
2018-03-08 17:33:54 Brian Murray tags bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key verification-done-xenial bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key verification-needed verification-needed-xenial
2018-03-19 10:51:09 Dimitri John Ledkov branch linked lp:~xnox/britney/custom-kernels-cannot-pass
2018-03-19 23:55:54 Dimitri John Ledkov branch unlinked lp:~xnox/britney/custom-kernels-cannot-pass
2018-03-20 18:04:08 Dimitri John Ledkov tags bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key verification-needed verification-needed-xenial bot-stop-nagging id-594d1970df3ec53730c0d28c kernel-da-key verification-done verification-done-xenial
2018-03-21 11:53:33 Launchpad Janitor systemd (Ubuntu Xenial): status Fix Committed Fix Released
2018-03-21 11:53:48 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team