Activity log for bug #1848856

Date Who What changed Old value New value Message
2019-10-19 14:21:09 jpb bug added bug
2019-10-19 14:21:09 jpb attachment added Snip of log from installation window for grub-efi-amd64 https://bugs.launchpad.net/bugs/1848856/+attachment/5298387/+files/grub-efi.log
2019-10-19 14:21:49 jpb attachment added update-grub.log https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5298388/+files/update-grub.log
2019-10-19 14:22:27 jpb attachment added grub.cfg.new https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5298389/+files/grub.cfg.new
2019-10-19 14:22:52 jpb attachment added grub https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5298390/+files/grub
2019-10-19 14:24:51 jpb attachment added Generaged Grub.cfg prior to 19.10 https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5298391/+files/grub.cfg.pre1910
2019-10-20 01:49:35 Norberto Bensa bug added subscriber zoolook
2019-10-20 14:02:51 Launchpad Janitor grub2 (Ubuntu): status New Confirmed
2019-10-20 14:29:04 Rex Tsai attachment added 1848856.debdiff https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5298611/+files/1848856.debdiff
2019-10-20 20:26:04 Ubuntu Foundations Team Bug Bot tags patch
2019-10-20 20:26:14 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2019-10-21 20:59:06 Brian Murray tags patch patch rls-ff-incoming
2019-10-21 21:23:35 Sebastien Bacher bug added subscriber Didier Roche
2019-10-21 21:23:40 Sebastien Bacher bug added subscriber Jean-Baptiste Lallement
2019-10-21 21:53:54 jpb attachment added 10_linux_zfs https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5299058/+files/10_linux_zfs
2019-10-21 21:55:01 jpb attachment added 10_linux_zfs https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5299059/+files/10_linux_zfs
2019-10-22 10:24:10 Sebastien Bacher bug added subscriber Sebastien Bacher
2019-10-26 06:14:44 Mathew Hodson grub2 (Ubuntu): importance Undecided Medium
2019-11-12 17:27:14 Jean-Baptiste Lallement grub2 (Ubuntu): status Confirmed Triaged
2019-11-12 17:27:19 Jean-Baptiste Lallement grub2 (Ubuntu): assignee Jean-Baptiste Lallement (jibel)
2019-11-12 17:29:05 Jean-Baptiste Lallement nominated for series Ubuntu Focal
2019-11-12 17:29:05 Jean-Baptiste Lallement bug task added grub2 (Ubuntu Focal)
2019-11-14 23:46:27 scnaifeh grub2 (Ubuntu Focal): status Triaged Fix Released
2019-11-14 23:53:24 scnaifeh bug added subscriber scnaifeh
2019-11-15 05:39:58 Jean-Baptiste Lallement grub2 (Ubuntu Focal): status Fix Released Triaged
2019-11-15 05:40:03 Jean-Baptiste Lallement grub2 (Ubuntu Focal): status Triaged In Progress
2019-11-18 08:10:15 Jean-Baptiste Lallement summary Upgrade from 19.04 to 19.10 with zfs on root fails with grub syntax error zfs on root fails with grub syntax error with multidisk pools
2019-11-18 10:32:23 Didier Roche-Tolomelli nominated for series Ubuntu Eoan
2019-11-18 10:32:23 Didier Roche-Tolomelli bug task added grub2 (Ubuntu Eoan)
2019-11-18 10:32:34 Didier Roche-Tolomelli bug task added grubzfs-testsuite (Ubuntu)
2019-11-18 11:32:06 Jean-Baptiste Lallement grub2 (Ubuntu Eoan): importance Undecided Medium
2019-11-18 11:32:08 Jean-Baptiste Lallement grubzfs-testsuite (Ubuntu Eoan): importance Undecided Medium
2019-11-18 11:32:11 Jean-Baptiste Lallement grubzfs-testsuite (Ubuntu Focal): importance Undecided Medium
2019-11-18 11:32:14 Jean-Baptiste Lallement grub2 (Ubuntu Eoan): assignee Jean-Baptiste Lallement (jibel)
2019-11-18 11:32:17 Jean-Baptiste Lallement grubzfs-testsuite (Ubuntu Eoan): assignee Jean-Baptiste Lallement (jibel)
2019-11-18 11:32:18 Jean-Baptiste Lallement grubzfs-testsuite (Ubuntu Focal): assignee Jean-Baptiste Lallement (jibel)
2019-11-18 11:32:25 Jean-Baptiste Lallement grub2 (Ubuntu Eoan): status New Triaged
2019-11-18 11:32:28 Jean-Baptiste Lallement grubzfs-testsuite (Ubuntu Eoan): status New Triaged
2019-11-18 11:32:31 Jean-Baptiste Lallement grubzfs-testsuite (Ubuntu Focal): status New Triaged
2019-11-18 12:09:26 Jean-Baptiste Lallement summary zfs on root fails with grub syntax error with multidisk pools zfs on root fails with grub syntax error with multidisks pools
2019-11-18 12:34:20 Jean-Baptiste Lallement description At the end of the upgrade from 19.04 to 19.10, the post process of the update-grub reports: Syntax error at line 185 Syntax errors are detected in generated GRUB config file. Ensure that there are no errors in /etc/default/grub and /etc/grub.d/* files or please file a bug report with /boot/grub/grub.cfg.new file attached. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 dpkg: error processing package linux-image-5.3.0-18-generic (--configure): installed linux-image-5.3.0-18-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: friendly-recovery grub-efi-amd64 grub-efi grub-efi-amd64-signed shim-signed linux-image-5.3.0-18-generic The system used https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS to add zfs on root to a 19.04 system. The syntax error in grub.cfg.new is an extra } on line 185. However, comparing the grub.cfg.new to the previously generated grub.cfg under 19.04, there is a significant quantity of configuration missing. Manually running update-grub generates the same error. /etc/default/grub is the only file changed from default installation to include zswap. This file was not changed prior to upgrade. The error is reported during the processing of /etc/grub.d/10_linux_zfs which is dated October 11. I attempted the upgrade on 10/18 and have done multiple updates to get the latest kernel and remove old kernels prior to the upgrade. So, I believe the problem is with one of the upgrade modules. [Description] When a pool is created on several devices like cache and log on separate devices, mirror or raidz. When grub-probe queries the target to report the device attached to the boot directory, it reports all the devices that make the pool, one by line. The result is an error in 10_linux_zfs that generates an invalid grub configuration file. Only the case 1 pool = 1 device was considered [Test Case] 1. Create a mirrored pool $ zpool create mirror /dev/Xda1 /dev/Xda2 2. run update-grub Expected result: grub configuration is generated successfully. Actual result: The generated grub configuration file is incomplete and its syntax is invalid [Regression Potential] Low. The patch takes the first device returned by grub-probe which is the first device of data of the mirror. [Original Description] At the end of the upgrade from 19.04 to 19.10, the post process of the update-grub reports: Syntax error at line 185 Syntax errors are detected in generated GRUB config file. Ensure that there are no errors in /etc/default/grub and /etc/grub.d/* files or please file a bug report with /boot/grub/grub.cfg.new file attached. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 dpkg: error processing package linux-image-5.3.0-18-generic (--configure):  installed linux-image-5.3.0-18-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing:  friendly-recovery  grub-efi-amd64  grub-efi  grub-efi-amd64-signed  shim-signed  linux-image-5.3.0-18-generic The system used https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS to add zfs on root to a 19.04 system. The syntax error in grub.cfg.new is an extra } on line 185. However, comparing the grub.cfg.new to the previously generated grub.cfg under 19.04, there is a significant quantity of configuration missing. Manually running update-grub generates the same error. /etc/default/grub is the only file changed from default installation to include zswap. This file was not changed prior to upgrade. The error is reported during the processing of /etc/grub.d/10_linux_zfs which is dated October 11. I attempted the upgrade on 10/18 and have done multiple updates to get the latest kernel and remove old kernels prior to the upgrade. So, I believe the problem is with one of the upgrade modules.
2019-11-25 08:31:26 Launchpad Janitor grubzfs-testsuite (Ubuntu Focal): status Triaged Fix Released
2019-11-25 08:31:27 Launchpad Janitor grub2 (Ubuntu Focal): status In Progress Fix Released
2019-11-28 11:12:25 Jean-Baptiste Lallement attachment added grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5308448/+files/grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff
2019-11-28 13:02:49 Jean-Baptiste Lallement attachment removed grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5308448/+files/grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff
2019-11-28 13:03:28 Jean-Baptiste Lallement attachment added grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5308462/+files/grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff
2019-11-29 06:51:37 Jean-Baptiste Lallement attachment removed grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5308462/+files/grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff
2019-11-29 06:52:10 Jean-Baptiste Lallement attachment added grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5308634/+files/grub2_2.04-1ubuntu12.1_1ubuntu12.2.debdiff
2019-12-22 03:04:14 Ryan C. Underwood bug added subscriber Ryan C. Underwood
2019-12-25 18:06:14 isden bug added subscriber isden
2020-01-26 20:49:38 Brian Elliott Finley attachment added Simple four line patch I created that solved my issue https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5323115/+files/grub-common-2.04-1ubuntu12.1.dont_scan_snapshots-brianfinley.diff
2020-03-18 11:30:25 Clemens Lang bug added subscriber Clemens Lang
2020-07-17 22:31:57 Simon Quigley bug task deleted grub2 (Ubuntu Eoan)
2020-07-17 22:31:59 Simon Quigley bug task deleted grubzfs-testsuite (Ubuntu Eoan)
2020-07-17 22:32:01 Simon Quigley removed subscriber Ubuntu Sponsors Team