[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
This bug was fixed in the package zsys - 0.4.7 --- zsys (0.4.7) focal; urgency=medium * Fix ZSys package post-installation failed when boot pool is not imported (LP: #1886214) * Change ZSys GC to only keep one month (LP: #1889385) -- Didier Roche Wed, 29 Jul 2020 11:32:33 +0200 ** Changed in: zsys (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
@Patrick: this is a separate issue (probably too many datasets or something else), but the actual bug (apt installation being broken) is fixed. Feel free to open another bug with ubuntu-bug zsys. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
seeing this: root@tmp:/home/pgray# apt install zsys/focal-proposed Reading package lists... Done Building dependency tree Reading state information... Done Selected version '0.4.7' (Ubuntu:20.04/focal-proposed [amd64]) for 'zsys' The following package was automatically installed and is no longer required: libfprint-2-tod1 Use 'apt autoremove' to remove it. The following packages will be upgraded: zsys 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/3,634 kB of archives. After this operation, 0 B of additional disk space will be used. Requesting to save current system state Successfully saved as "autozsys_63hqvl" (Reading database ... 212063 files and directories currently installed.) Preparing to unpack .../archives/zsys_0.4.7_amd64.deb ... Unpacking zsys (0.4.7) over (0.4.6) ... Setting up zsys (0.4.7) ... zsys-gc.service is a disabled or a static unit not running, not starting it. Processing triggers for man-db (2.9.1-1) ... ZSys is adding automatic system snapshot to GRUB menu ERROR Service took too long to respond. Disconnecting client. This is still not the desired outcome, correct? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Upgrading to zsys from 0.4.6 to focal-proposed 0.4.7 has resolved below issue for me. Thanks for everyone's work. Requesting to save current system state Successfully saved as "autozsys_ufuwup" Setting up zsys (0.4.6) ... dpkg: error processing package zsys (--configure): installed zsys package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: zsys ZSys is adding automatic system snapshot to GRUB menu E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Should I run any commands before trying to upgrade? Or should the 0.4.7 upgrade handle my root partition still being in a weird state? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
SRU verification for Focal: I have reproduced the problem with zsys 0.4.6 in focal-updates and have verified that the version of zsys 0.4.7 in -proposed fixes the issue. Marking as verification-done ** Tags removed: verification-needed verification-needed-focal ** Tags added: verification-done verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Hello Patrick, or anyone else affected, Accepted zsys into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/zsys/0.4.7 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: zsys (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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
FWIW whenever this happened to me, `/boot` was not empty, so ZFS refused to mount it. Not sure if there's a way, or if it's advisable, to force it to mount over non-empty… -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
This bug was fixed in the package zsys - 0.5.1 --- zsys (0.5.1) groovy; urgency=medium * Fix ZSys package post-installation failed when boot pool is not imported (LP: #1886214) * Change ZSys GC to only keep one month (LP: #1889385) -- Didier Roche Wed, 29 Jul 2020 11:32:33 +0200 ** Changed in: zsys (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
** Description changed: - root@tmp:/home/pgray# zfs list -t snapshot -o name -S creation + ** SRU ** + [Impact] + For yet unknown reasons, bpool is sometimes not imported. This causes the upgrade script to fail because then /boot is not a mount point. + The fix just ignores the return status of findmnt to prevent the postinst script to fail in this situation + + [Test Case] + 1. Install zsys 0.4.5 + 2. Unmount /boot/grub/, /boot/efi and /boot + 3. Install the update of zsys + + [Regression potential] + Low, since now the error is now ignored. + + + ** Original Description ** + root@tmp:/home/pgray# zfs list -t snapshot -o name -S creation no datasets available root@tmp:/home/pgray# sudo apt-get install zsys Reading package lists... Done - Building dependency tree + Building dependency tree Reading state information... Done zsys is already the newest version (0.4.6). 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Requesting to save current system state Successfully saved as "autozsys_90843v" Setting up zsys (0.4.6) ... dpkg: error processing package zsys (--configure): - installed zsys package post-installation script subprocess returned error exit status 1 + installed zsys package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: - zsys + zsys ZSys is adding automatic system snapshot to GRUB menu - ERROR Service took too long to respond. Disconnecting client. + ERROR Service took too long to respond. Disconnecting client. E: Sub-process /usr/bin/dpkg returned an error code (1) root@tmp:/home/pgray# zpool list NAMESIZE ALLOC FREE CKPOINT EXPANDSZ FRAGCAP DEDUPHEALTH ALTROOT rpool 107G 9.27G 97.7G- -10% 8% 1.00xONLINE - This was after a previous upgrade failed. Even after removing all snapshots for that pool, it fails. root@tmp:/home/pgray# lsb_release -rd Description:Ubuntu 20.04 LTS Release:20.04 root@tmp:/home/pgray# apt-cache policy zsys zsys: - Installed: 0.4.6 - Candidate: 0.4.6 - Version table: - *** 0.4.6 500 - 500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages - 100 /var/lib/dpkg/status - 0.4.5 500 - 500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages - --- + Installed: 0.4.6 + Candidate: 0.4.6 + Version table: + *** 0.4.6 500 + 500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages + 100 /var/lib/dpkg/status + 0.4.5 500 + 500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages + --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.3 Architecture: amd64 CasperMD5CheckResult: skip DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2020-06-09 (27 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: zsys 0.4.5 PackageArchitecture: amd64 ProcEnviron: - TERM=screen-256color - PATH=(custom, no user) - XDG_RUNTIME_DIR= - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=screen-256color + PATH=(custom, no user) + XDG_RUNTIME_DIR= + LANG=en_US.UTF-8 + SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_bgiwia@/vmlinuz-5.4.0-37-generic root=ZFS=rpool/ROOT/ubuntu_bgiwia ro quiet splash ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41 RelatedPackageVersions: - zfs-initramfs 0.8.3-1ubuntu12.1 - zfsutils-linux 0.8.3-1ubuntu12.1 + zfs-initramfs 0.8.3-1ubuntu12.1 + zfsutils-linux 0.8.3-1ubuntu12.1 Tags: focal Uname: Linux 5.4.0-37-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip docker kvm libvirt lpadmin lxd plugdev sambashare sudo ZFSImportedPools: - NAMESIZE ALLOC FREE CKPOINT EXPANDSZ FRAGCAP DEDUPHEALTH ALTROOT - rpool 107G 9.66G 97.3G- -10% 9% 1.00xONLINE - - slow 29.1T 606G 28.5T- - 0% 2% 1.00xONLINE - + NAMESIZE ALLOC FREE CKPOINT EXPANDSZ FRAGCAP DEDUPHEALTH ALTROOT + rpool 107G 9.66G 97.3G- -10% 9% 1.00xONLINE - + slow 29.1T 606G 28.5T- - 0% 2% 1.00xONLINE - ZFSListcache-bpool: - bpool/boot off on on off on off on off - none - bpool/BOOT noneoff on on off on off on off - none - bpool/BOOT/ubuntu_bgiwia /boot on on on off on off on off - none + bpool/boot off on on off on off on off - none
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
** Also affects: zsys (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: zsys (Ubuntu Focal) Status: New => Triaged ** Changed in: zsys (Ubuntu Focal) Importance: Undecided => High ** Changed in: zsys (Ubuntu) Assignee: (unassigned) => Jean-Baptiste Lallement (jibel) ** Changed in: zsys (Ubuntu Focal) Assignee: (unassigned) => Jean-Baptiste Lallement (jibel) ** Changed in: zsys (Ubuntu Focal) Milestone: None => focal-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Is this related? https://github.com/ubuntu/zsys/issues/60 ** Bug watch added: github.com/ubuntu/zsys/issues #60 https://github.com/ubuntu/zsys/issues/60 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Is there any workaround or mitigation? Re-installation, etc? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Anything else I can provide here? This zfs-root was setup by the ubuntu desktop installer fwiw. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Setting up zsys (0.4.6) ... dpkg: error processing package zsys (--configure): installed zsys package post-installation script subprocess returned error exit status 1 Processing triggers for libc-bin (2.31-0ubuntu9) ... Errors were encountered while processing: zsys ZSys is adding automatic system snapshot to GRUB menu E: Sub-process /usr/bin/dpkg returned an error code (1) affects me as well with this output. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Everytime I try to install something the end is: Errors were encountered while processing: zsys ZSys is adding automatic system snapshot to GRUB menu E: Sub-process /usr/bin/dpkg returned an error code (1) Very annoying! How can I correct this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
I too see "ERROR Service took too long to respond. Disconnecting client." when I use apt. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs