It looks like this issue has been happening multiple times. Apparently
it doesn't happen if we try to update a clean install. And the common
denominator seems to be that lxd is installed and some containers are
running.

So, I've tried the following:
 - setup a bionic VM with an encrypted storage: single disk with 2 partitions
 - created a striped zfs pool using the encrypted storage
 - initialized lxd to use the zpool
 - started multiple containers
 - distro upgrade from bionic to focal (with the containers active)
 - distro upgrade from focal to groovy (with the containers active)

But, even with all of the above, I wasn't able to reproduce the problem:
the distro upgrade went smooth and completed without errors.

Considering that lxd moved from being a deb package to a snap, I was
wondering if this could be part of the problem. However during my tests
(upgrading from bionic to focal) lxd actually moved from deb to snap and
I couldn't see the problem.

So, it's either a rare set of conditions, or the problem is gone now
with the recent Ubuntu releases.

-- 
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/1841377

Title:
  package zfsutils-linux 0.8.1-1ubuntu9 failed to install/upgrade:
  installed zfsutils-linux package post-installation script subprocess
  returned error exit status 1

Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  During upgrade from 19.04 to 19.10.

  I use the mentioned packages with lxd containers

  ProblemType: Package
  DistroRelease: Ubuntu 19.10
  Package: zfsutils-linux 0.8.1-1ubuntu9
  Uname: Linux 5.2.0-9.1-liquorix-amd64 x86_64
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  Date: Sun Aug 25 19:11:38 2019
  ErrorMessage: installed zfsutils-linux package post-installation script 
subprocess returned error exit status 1
  InstallationDate: Installed on 2015-07-26 (1490 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 
(20150218.1)
  Python3Details: /usr/bin/python3.7, Python 3.7.4, python3-minimal, 3.7.3-1
  PythonDetails: /usr/bin/python2.7, Python 2.7.16+, python-minimal, 2.7.16-1
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu1
   apt  1.9.3
  SourcePackage: zfs-linux
  Title: package zfsutils-linux 0.8.1-1ubuntu9 failed to install/upgrade: 
installed zfsutils-linux package post-installation script subprocess returned 
error exit status 1
  UpgradeStatus: Upgraded to eoan on 2019-08-25 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1841377/+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