[Bug 1875045] Re: Ubiquity 20.04 exports existing ZFS pools

Brian Murray 1875045 at bugs.launchpad.net
Wed Jun 24 16:43:59 UTC 2020


Hello Saverio, or anyone else affected,

Accepted ubiquity into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/ubiquity/20.04.15.1 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubiquity (Ubuntu Focal)
       Status: Triaged => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1875045

Title:
  Ubiquity 20.04 exports existing ZFS pools

Status in ubiquity package in Ubuntu:
  Fix Released
Status in ubiquity source package in Focal:
  Fix Committed

Bug description:
  [Impact]

   * Ubiquity unmounts everything that could be mounted on the target
  file system when it starts and on tear down. For ZFS it exports all
  the pools.

   * If a user had existing pools, they are exported too.

   * This fix only unmount pool that are used as a target for the
  installation, leaving alone any other pool.

  [Test Case]

   1. Boot a live session
   2. Create a new pool with:
  $ zpool create -R /mnt tpool /dev/vda
   3. Verify that the pool is created with zpool list
   4. Start ubiquity
   5. Quit ubiquity

  => Verify that the pool is still there with zpool list. Without the
  fix, tpool is exported.

  [Regression Potential]

   * Low risk of regression. Worst case, the bug is not fixed and pools
  are still unmounted or none of the pools are exported. This case would
  prevent to do 2 installations in a row from the same live session.

  [Other info]

   * Already shipped in Groovy.

  ===

  For unclear reasons (18.04 didn't have this issue), Ubiquity on 20.04
  exports existing ZFS pools, (very) shortly after execution.

  To repeat (assumes a `/dev/sda` disk):

  - start a 20.04 Ubuntu Desktop live media
  - open a terminal
  - create a zfs pool: `zpool create test /dev/sda`
  - verify that it's been created: `zpool list`
  - launch ubiquity: `ubiquity`
  - open a separate terminal
  - list the ZFS pools: `zpool list`

  no pools are now listed.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubiquity 20.04.15
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckMismatches: ./casper/vmlinuz
  CasperMD5CheckResult: skip
  CasperVersion: 1.445
  CurrentDesktop: MATE
  Date: Sat Apr 25 15:21:25 2020
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu-mate.seed quiet splash ---
  LiveMediaBuild: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1875045/+subscriptions



More information about the foundations-bugs mailing list