Activity log for bug #1743300

Date Who What changed Old value New value Message
2018-01-15 06:07:00 Oliver bug added bug
2018-01-15 09:15:27 Oliver information type Public Private Security
2018-01-15 09:15:42 Oliver information type Private Security Public Security
2018-01-15 11:54:05 Launchpad Janitor linux-hwe (Ubuntu): status New Confirmed
2018-01-18 07:43:05 Oliver affects linux-hwe (Ubuntu) supermin (Ubuntu)
2018-01-19 10:57:43 Oliver attachment added log 4.13 and log 4.10 https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1743300/+attachment/5039459/+files/log_410_413.zip
2018-01-23 00:54:12 Nivedita Singhvi bug added subscriber Nivedita Singhvi
2018-01-25 16:06:47 Eric Desrochers bug added subscriber Eric Desrochers
2018-02-13 19:18:28 Nivedita Singhvi attachment added Debdiff for updated supermin package in Xenial. https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1743300/+attachment/5054566/+files/lp1743300-xenial.debdiff
2018-02-13 20:25:18 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug xenial amd64 apport-bug patch xenial
2018-02-13 20:25:27 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Security Sponsors Team
2018-02-13 23:50:03 Nivedita Singhvi description after upgrade to 4.13.0-26-generic #29~16.04.2-Ubuntu all the virt-* tools not work anymore running the libguestfs-test-tool shows that the qemu kernel crashes [ 0.755354] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 0.755354] [ 0.756619] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic #29~16.04.2-Ubuntu [ 0.757893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 [ 0.759157] Call Trace: [ 0.759444] dump_stack+0x63/0x8b [ 0.760847] panic+0xe4/0x23d [ 0.761184] do_exit+0xae6/0xaf0 [ 0.761547] ? dput+0x34/0x1f0 [ 0.762292] do_group_exit+0x43/0xb0 [ 0.762690] SyS_exit_group+0x14/0x20 [ 0.763333] entry_SYSCALL_64_fastpath+0x1e/0x81 [ 0.764221] RIP: 0033:0x451579 [ 0.764799] RSP: 002b:00007ffda4fe3768 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 0.766275] RAX: ffffffffffffffda RBX: 0000000001415cb3 RCX: 0000000000451579 [ 0.767056] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000001 [ 0.768290] RBP: 0000000001415c30 R08: 000000000000003c R09: 00000000000000e7 [ 0.769451] R10: ffffffffffffffd0 R11: 0000000000000246 R12: 0000000000000000 [ 0.770651] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15: 0000000001415c30 [ 0.772563] Kernel Offset: 0x3cc00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.774729] Rebooting in 1 seconds.. libguestfs: error: appliance closed the connect ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2 ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13 Uname: Linux 4.13.0-26-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Mon Jan 15 07:03:40 2018 InstallationDate: Installed on 2017-07-14 (184 days ago) InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8) SourcePackage: linux-hwe UpgradeStatus: No upgrade log present (probably fresh install) (Updated Description/Summary) Summary ========== * This is a bug in the supermin package v5.1.14 in Xenial. * This bug affects supermin versions < v5.1.18 when using a kernel that is v4.13-based or later. * This bug was caused by an update to the mainline v4.13 kernel which broke supermin due to the way supermin handled symlinks. Impact ======== * The bug results in total loss of functionality in supermin and users of supermin such as guestfish, libguestfs-test-tool, others. i.e. it is a regression in functionality for managing virtual appliances. * This bug does not affect Bionic, Artful or Trusty (See Comment #14). Test Case & Reproduction =========================== * This bug manifests in different ways based on the caller / use case but is reliable and consistent in its reproduction. See original description and Comment #12, for trivial repro cases. Fix ==== * The fix for the Xenial version includes a backport of 2 upstream fixes to the file ext2fs-c.c (the fix for the symlink breakage is contained in this file). See comment #13 for details. * A separate PPA test package for Xenial is available to test with (See comment #13). * This fix has been tested successfully on Xenial and shown to fix the reported and related breakages as listed in this bug (Comment #12). Regression Potential ===================== * Regression Potential: there might be some bugs in some edge cases that have not been tested or some environment that is not typical causing some new issue which might affect the creation of the virtual appliances and their management/manipulation via tools in the libguestfs-tools package (e.g. guestfish). ---- Original Description ===================== after upgrade to 4.13.0-26-generic #29~16.04.2-Ubuntu all the virt-* tools not work anymore running the libguestfs-test-tool shows that the qemu kernel crashes [ 0.755354] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 0.755354] [ 0.756619] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic #29~16.04.2-Ubuntu [ 0.757893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 [ 0.759157] Call Trace: [ 0.759444] dump_stack+0x63/0x8b [ 0.760847] panic+0xe4/0x23d [ 0.761184] do_exit+0xae6/0xaf0 [ 0.761547] ? dput+0x34/0x1f0 [ 0.762292] do_group_exit+0x43/0xb0 [ 0.762690] SyS_exit_group+0x14/0x20 [ 0.763333] entry_SYSCALL_64_fastpath+0x1e/0x81 [ 0.764221] RIP: 0033:0x451579 [ 0.764799] RSP: 002b:00007ffda4fe3768 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 0.766275] RAX: ffffffffffffffda RBX: 0000000001415cb3 RCX: 0000000000451579 [ 0.767056] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000001 [ 0.768290] RBP: 0000000001415c30 R08: 000000000000003c R09: 00000000000000e7 [ 0.769451] R10: ffffffffffffffd0 R11: 0000000000000246 R12: 0000000000000000 [ 0.770651] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15: 0000000001415c30 [ 0.772563] Kernel Offset: 0x3cc00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.774729] Rebooting in 1 seconds.. libguestfs: error: appliance closed the connect ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2 ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13 Uname: Linux 4.13.0-26-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Mon Jan 15 07:03:40 2018 InstallationDate: Installed on 2017-07-14 (184 days ago) InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8) SourcePackage: linux-hwe UpgradeStatus: No upgrade log present (probably fresh install)
2018-02-13 23:57:23 Nivedita Singhvi bug added subscriber Ubuntu Sponsors Team
2018-02-14 00:12:00 Nivedita Singhvi description (Updated Description/Summary) Summary ========== * This is a bug in the supermin package v5.1.14 in Xenial. * This bug affects supermin versions < v5.1.18 when using a kernel that is v4.13-based or later. * This bug was caused by an update to the mainline v4.13 kernel which broke supermin due to the way supermin handled symlinks. Impact ======== * The bug results in total loss of functionality in supermin and users of supermin such as guestfish, libguestfs-test-tool, others. i.e. it is a regression in functionality for managing virtual appliances. * This bug does not affect Bionic, Artful or Trusty (See Comment #14). Test Case & Reproduction =========================== * This bug manifests in different ways based on the caller / use case but is reliable and consistent in its reproduction. See original description and Comment #12, for trivial repro cases. Fix ==== * The fix for the Xenial version includes a backport of 2 upstream fixes to the file ext2fs-c.c (the fix for the symlink breakage is contained in this file). See comment #13 for details. * A separate PPA test package for Xenial is available to test with (See comment #13). * This fix has been tested successfully on Xenial and shown to fix the reported and related breakages as listed in this bug (Comment #12). Regression Potential ===================== * Regression Potential: there might be some bugs in some edge cases that have not been tested or some environment that is not typical causing some new issue which might affect the creation of the virtual appliances and their management/manipulation via tools in the libguestfs-tools package (e.g. guestfish). ---- Original Description ===================== after upgrade to 4.13.0-26-generic #29~16.04.2-Ubuntu all the virt-* tools not work anymore running the libguestfs-test-tool shows that the qemu kernel crashes [ 0.755354] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 0.755354] [ 0.756619] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic #29~16.04.2-Ubuntu [ 0.757893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 [ 0.759157] Call Trace: [ 0.759444] dump_stack+0x63/0x8b [ 0.760847] panic+0xe4/0x23d [ 0.761184] do_exit+0xae6/0xaf0 [ 0.761547] ? dput+0x34/0x1f0 [ 0.762292] do_group_exit+0x43/0xb0 [ 0.762690] SyS_exit_group+0x14/0x20 [ 0.763333] entry_SYSCALL_64_fastpath+0x1e/0x81 [ 0.764221] RIP: 0033:0x451579 [ 0.764799] RSP: 002b:00007ffda4fe3768 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 0.766275] RAX: ffffffffffffffda RBX: 0000000001415cb3 RCX: 0000000000451579 [ 0.767056] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000001 [ 0.768290] RBP: 0000000001415c30 R08: 000000000000003c R09: 00000000000000e7 [ 0.769451] R10: ffffffffffffffd0 R11: 0000000000000246 R12: 0000000000000000 [ 0.770651] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15: 0000000001415c30 [ 0.772563] Kernel Offset: 0x3cc00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.774729] Rebooting in 1 seconds.. libguestfs: error: appliance closed the connect ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2 ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13 Uname: Linux 4.13.0-26-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Mon Jan 15 07:03:40 2018 InstallationDate: Installed on 2017-07-14 (184 days ago) InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8) SourcePackage: linux-hwe UpgradeStatus: No upgrade log present (probably fresh install) (Updated Description/Summary) Summary ========== * This is a bug in the supermin package v5.1.14 in Xenial. * This bug affects supermin versions < v5.1.18 when using a   kernel that is v4.13-based or later. * This bug was caused by an update to the mainline v4.13 kernel   which broke supermin due to the way supermin handled symlinks. Impact ======== * The bug results in total loss of functionality in supermin   and users of supermin such as guestfish, libguestfs-test-tool,   others. i.e. it is a regression in functionality for managing   virtual appliances. * This bug does not affect Bionic, Artful or Trusty (See Comment #14). Test Case & Reproduction =========================== * This bug manifests in different ways based on the caller / use case   but is reliable and consistent in its reproduction.   See original description and Comment #12, for trivial repro cases. Fix ==== * The fix for the Xenial version includes a backport of 2 upstream   fixes to the file ext2fs-c.c (the fix for the symlink breakage   is contained in this file). See comment #13 for details. * A separate PPA test package for Xenial is available to test with   (See comment #13). * This fix has been tested successfully on Xenial and shown to fix the   reported and related breakages as listed in this bug (Comment #12). Regression Potential ===================== * Regression Potential: there might be some bugs in some edge cases   that have not been tested or some environment that is not typical   causing some new issue which might affect the creation of the virtual   appliances and their management/manipulation via tools in the   libguestfs-tools package (e.g. guestfish). The attached debdiff is intended to create a rev of the current Xenial package version supermin_5.1.14-2ubuntu1 to supermin_5.1.14-2ubuntu1.1. ---- Original Description ===================== after upgrade to 4.13.0-26-generic #29~16.04.2-Ubuntu all the virt-* tools not work anymore running the libguestfs-test-tool shows that the qemu kernel crashes [ 0.755354] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 0.755354] [ 0.756619] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic #29~16.04.2-Ubuntu [ 0.757893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 [ 0.759157] Call Trace: [ 0.759444] dump_stack+0x63/0x8b [ 0.760847] panic+0xe4/0x23d [ 0.761184] do_exit+0xae6/0xaf0 [ 0.761547] ? dput+0x34/0x1f0 [ 0.762292] do_group_exit+0x43/0xb0 [ 0.762690] SyS_exit_group+0x14/0x20 [ 0.763333] entry_SYSCALL_64_fastpath+0x1e/0x81 [ 0.764221] RIP: 0033:0x451579 [ 0.764799] RSP: 002b:00007ffda4fe3768 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 0.766275] RAX: ffffffffffffffda RBX: 0000000001415cb3 RCX: 0000000000451579 [ 0.767056] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000001 [ 0.768290] RBP: 0000000001415c30 R08: 000000000000003c R09: 00000000000000e7 [ 0.769451] R10: ffffffffffffffd0 R11: 0000000000000246 R12: 0000000000000000 [ 0.770651] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15: 0000000001415c30 [ 0.772563] Kernel Offset: 0x3cc00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.774729] Rebooting in 1 seconds.. libguestfs: error: appliance closed the connect ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2 ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13 Uname: Linux 4.13.0-26-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Mon Jan 15 07:03:40 2018 InstallationDate: Installed on 2017-07-14 (184 days ago) InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8) SourcePackage: linux-hwe UpgradeStatus: No upgrade log present (probably fresh install)
2018-02-14 00:18:17 Nivedita Singhvi tags amd64 apport-bug patch xenial amd64 apport-bug patch sts-sponsor xenial
2018-02-14 14:34:18 Eric Desrochers nominated for series Ubuntu Xenial
2018-02-14 14:34:18 Eric Desrochers bug task added supermin (Ubuntu Xenial)
2018-02-14 14:34:27 Eric Desrochers supermin (Ubuntu Xenial): importance Undecided Medium
2018-02-14 14:34:44 Eric Desrochers supermin (Ubuntu Xenial): assignee Nivedita Singhvi (niveditasinghvi)
2018-02-14 14:34:58 Eric Desrochers supermin (Ubuntu): status Confirmed Fix Released
2018-02-14 14:35:02 Eric Desrochers supermin (Ubuntu Xenial): status New In Progress
2018-02-14 14:35:59 Eric Desrochers bug added subscriber STS Sponsors
2018-02-14 14:36:40 Eric Desrochers tags amd64 apport-bug patch sts-sponsor xenial amd64 apport-bug patch sts xenial
2018-02-14 16:40:11 Steve Beattie removed subscriber Ubuntu Security Sponsors Team
2018-02-14 22:32:35 Nivedita Singhvi description (Updated Description/Summary) Summary ========== * This is a bug in the supermin package v5.1.14 in Xenial. * This bug affects supermin versions < v5.1.18 when using a   kernel that is v4.13-based or later. * This bug was caused by an update to the mainline v4.13 kernel   which broke supermin due to the way supermin handled symlinks. Impact ======== * The bug results in total loss of functionality in supermin   and users of supermin such as guestfish, libguestfs-test-tool,   others. i.e. it is a regression in functionality for managing   virtual appliances. * This bug does not affect Bionic, Artful or Trusty (See Comment #14). Test Case & Reproduction =========================== * This bug manifests in different ways based on the caller / use case   but is reliable and consistent in its reproduction.   See original description and Comment #12, for trivial repro cases. Fix ==== * The fix for the Xenial version includes a backport of 2 upstream   fixes to the file ext2fs-c.c (the fix for the symlink breakage   is contained in this file). See comment #13 for details. * A separate PPA test package for Xenial is available to test with   (See comment #13). * This fix has been tested successfully on Xenial and shown to fix the   reported and related breakages as listed in this bug (Comment #12). Regression Potential ===================== * Regression Potential: there might be some bugs in some edge cases   that have not been tested or some environment that is not typical   causing some new issue which might affect the creation of the virtual   appliances and their management/manipulation via tools in the   libguestfs-tools package (e.g. guestfish). The attached debdiff is intended to create a rev of the current Xenial package version supermin_5.1.14-2ubuntu1 to supermin_5.1.14-2ubuntu1.1. ---- Original Description ===================== after upgrade to 4.13.0-26-generic #29~16.04.2-Ubuntu all the virt-* tools not work anymore running the libguestfs-test-tool shows that the qemu kernel crashes [ 0.755354] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 0.755354] [ 0.756619] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic #29~16.04.2-Ubuntu [ 0.757893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 [ 0.759157] Call Trace: [ 0.759444] dump_stack+0x63/0x8b [ 0.760847] panic+0xe4/0x23d [ 0.761184] do_exit+0xae6/0xaf0 [ 0.761547] ? dput+0x34/0x1f0 [ 0.762292] do_group_exit+0x43/0xb0 [ 0.762690] SyS_exit_group+0x14/0x20 [ 0.763333] entry_SYSCALL_64_fastpath+0x1e/0x81 [ 0.764221] RIP: 0033:0x451579 [ 0.764799] RSP: 002b:00007ffda4fe3768 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 0.766275] RAX: ffffffffffffffda RBX: 0000000001415cb3 RCX: 0000000000451579 [ 0.767056] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000001 [ 0.768290] RBP: 0000000001415c30 R08: 000000000000003c R09: 00000000000000e7 [ 0.769451] R10: ffffffffffffffd0 R11: 0000000000000246 R12: 0000000000000000 [ 0.770651] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15: 0000000001415c30 [ 0.772563] Kernel Offset: 0x3cc00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.774729] Rebooting in 1 seconds.. libguestfs: error: appliance closed the connect ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2 ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13 Uname: Linux 4.13.0-26-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Mon Jan 15 07:03:40 2018 InstallationDate: Installed on 2017-07-14 (184 days ago) InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8) SourcePackage: linux-hwe UpgradeStatus: No upgrade log present (probably fresh install) [Impact] An update to mainline kernel v4.13 breaks the supermin v5.1.14 package in Xenial. Supermin is a tool for preparing and building very specific, tiny, virtual appliances which boot very fast. It uses an ext2 file system disk image. Users of supermin functionality like guestfish, libguestfs-test-tool, etc., all break in different ways as a result, some catastrophic, but in each case, the tool and virtual appliance are not usable. This impacts the libguestfs-tools package (users of supermin). This bug results in users not being able to upgrade their kernel, specifically, use a kernel that is v4.13-based or later. A workaround is to ensure that an earlier kernel (e.g. v4.4-based Xenial kernels) is used by supermin. This can conflict with user needs to use a later kernel for other reasons. [Test Case] 1) Using the v5.1.14 supermin installed and running on a 4.13-based kernel like 4.13.0-32-generic #35~16.04.1-Ubuntu: (Assuming you have virtualization support packages etc. already installed): $ sudo apt-get install libguestfs-tools $ libguestfs-test-tool [appliance kernel panic or qemu crash or just a silent hang] 2) Using the v5.1.14 supermin version and running on a 4.13-based kernel like 4.13.0-32-generic #35~16.04.1-Ubuntu: # wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img -O /var/lib/libvirt/images/ubuntu-16.04-server-cloudimg-amd64-disk1.img # guestfish --rw -a /var/lib/libvirt/images/ubuntu-16.04-server-cloudimg-amd64-disk1.img Welcome to guestfish, the guest filesystem shell for editing virtual machine filesystems and disk images. Type: 'help' for help on commands 'man' to read the manual 'quit' to quit the shell ><fs> run libguestfs: error: appliance closed the connection unexpectedly. This usually means the libguestfs appliance crashed. [Regression Potential] * There might be errors in creation and management of tiny supermin appliances via tools in the libguestfs-tools package. [Other Info] * From the upstream patch description, brief explanation of the bug: "The ext2 filesystem on disk format has two ways to store symlinks. For symlinks >= 60 bytes in length, they are stored as files (so-called "slow symlinks"). For shorter symlinks the symlink is stored in the inode ("fast symlinks"). Previously we only created slow symlinks even if they are shorter than 60 bytes. This didn't matter until recently, when a change went into the upstream kernel which assumes that symlinks shorter than 60 bytes are always stored in the inode, thus breaking the filesystems that we created before..." Note that the real fix is to switch to use ext2fs_symlink() to create links. * A fix for this problem went into upstream supermin v5.1.18. Thus this bug affects supermin < v5.1.18, and kernel >= v4.13. * Thus this bug only affects the Ubuntu Xenial distro release: supermin = v5.1.14 kernel = v4.13.* Artful includes the v4.1.18 supermin package (which has the symlink fix) and Bionic has a later one (v4.1.19). Thus neither is affected by this issue. Trusty is running an older version (4.1.6-1) of supermin but is not running the v4.13 or later kernel, and is thus not affected either. * This fix has been tested successfully on Xenial and shown to fix the reported and related breakages as listed in the Test Case section and more. * A public PPA test package for Xenial is available to test with and has been tested by at least one user who was seeing the problem, successfully. * This fix backports 2 patches from upstream: 1. ext2: Don't load whole files into memory when copying to the appliance (RHBZ#1113065). 2. ext2: Create symlinks properly (RHBZ#1470157). Patch 1 is necessary as it supplies some dependent code used by Patch 2; and Patch 2 does not compile cleanly without it. https://github.com/libguestfs/supermin/commit/158854e3ba4be7f6b8d81f662ddad98358ede1de https://github.com/libguestfs/supermin/commit/f5a3deef588759c49dc862427a265aced612002d Both patches are contained to a single file (ext2fs-c.c). * The fixed supermin has been tested with older (< 4.13) kernels as well, with no regression or issues. * There is no security impact / aspect to this change (as confirmed by a quick review from security team member) ---- Original Description ===================== after upgrade to 4.13.0-26-generic #29~16.04.2-Ubuntu all the virt-* tools not work anymore running the libguestfs-test-tool shows that the qemu kernel crashes [ 0.755354] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 0.755354] [ 0.756619] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic #29~16.04.2-Ubuntu [ 0.757893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 [ 0.759157] Call Trace: [ 0.759444] dump_stack+0x63/0x8b [ 0.760847] panic+0xe4/0x23d [ 0.761184] do_exit+0xae6/0xaf0 [ 0.761547] ? dput+0x34/0x1f0 [ 0.762292] do_group_exit+0x43/0xb0 [ 0.762690] SyS_exit_group+0x14/0x20 [ 0.763333] entry_SYSCALL_64_fastpath+0x1e/0x81 [ 0.764221] RIP: 0033:0x451579 [ 0.764799] RSP: 002b:00007ffda4fe3768 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 0.766275] RAX: ffffffffffffffda RBX: 0000000001415cb3 RCX: 0000000000451579 [ 0.767056] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000001 [ 0.768290] RBP: 0000000001415c30 R08: 000000000000003c R09: 00000000000000e7 [ 0.769451] R10: ffffffffffffffd0 R11: 0000000000000246 R12: 0000000000000000 [ 0.770651] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15: 0000000001415c30 [ 0.772563] Kernel Offset: 0x3cc00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.774729] Rebooting in 1 seconds.. libguestfs: error: appliance closed the connect ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2 ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13 Uname: Linux 4.13.0-26-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Mon Jan 15 07:03:40 2018 InstallationDate: Installed on 2017-07-14 (184 days ago) InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8) SourcePackage: linux-hwe UpgradeStatus: No upgrade log present (probably fresh install)
2018-02-14 22:33:08 Nivedita Singhvi attachment removed Debdiff for updated supermin package in Xenial. https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1743300/+attachment/5054566/+files/lp1743300-xenial.debdiff
2018-02-14 22:46:29 Nivedita Singhvi attachment added Debdiff for updated supermin package in Xenial. https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1743300/+attachment/5055486/+files/lp-1743300.debdiff
2018-02-20 00:06:08 Brian Murray supermin (Ubuntu Xenial): status In Progress Fix Committed
2018-02-20 00:06:09 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2018-02-20 00:06:12 Brian Murray bug added subscriber SRU Verification
2018-02-20 00:06:17 Brian Murray tags amd64 apport-bug patch sts xenial amd64 apport-bug patch sts verification-needed verification-needed-xenial xenial
2018-02-20 02:10:57 Brian Murray removed subscriber Ubuntu Sponsors Team
2018-02-20 13:57:02 Dan Streetman tags amd64 apport-bug patch sts verification-needed verification-needed-xenial xenial amd64 apport-bug patch sts verification-done verification-done-xenial xenial
2018-03-01 14:02:25 Launchpad Janitor supermin (Ubuntu Xenial): status Fix Committed Fix Released
2018-03-01 14:02:32 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team