** Attachment added: "term.log"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1847927/+attachment/5296834/+files/term.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1847927

Title:
  Upgrading of 20191010 installed on ZFS will lead to "device-mapper:
  reload ioctl on osprober-linux-sda6  failed: Device or resource busy"
  and then to auto-removal of all zfs packages

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  Steps to reproduce:
  1. Install Ubuntu 19.10 from 20191010 ISO
  2. Run `sudo apt-get update` and `sudo apt-get upgrade`
  3. Note the following lines in the APT output:

  ...
  Warning: Couldn't find any valid initrd for dataset rpool/ROOT/ubuntu_69xc2t.
  Found memtest86+ image: /BOOT/ubuntu_69xc2t@/memtest86+.elf
  Found memtest86+ image: /BOOT/ubuntu_69xc2t@/memtest86+.bin
  device-mapper: reload ioctl on osprober-linux-sda6  failed: Device or 
resource busy
  Command failed.
  done
  ...
  device-mapper: reload ioctl on osprober-linux-sda6  failed: Device or 
resource busy
  Command failed.
  done

  4. Run `sudo apt-get autoremove --purge`

  $ sudo apt-get autoremove --purge
  [sudo] password for zfs: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be REMOVED:
    libnvpair1linux* libuutil1linux* libzfs2linux* libzpool2linux* 
zfs-initramfs* zfs-zed* zfsutils-linux*
  0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
  After this operation, 5 243 kB disk space will be freed.
  Do you want to continue? [Y/n] n
  Abort.

  
  Expected results:
  * upgrading of packages run without errors

  Actual results:
  * system will not boot if user will proceed with package autoremoval

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: libzfs2linux 0.8.1-1ubuntu14
  ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0
  Uname: Linux 5.3.0-13-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu8
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 13 22:51:39 2019
  InstallationDate: Installed on 2019-10-13 (0 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Beta amd64 (20191010)
  SourcePackage: zfs-linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1847927/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to