** Description changed:

  [Impact]
  
-  * zfs fails reverting to a previous snapshot on reboot when selected on
+  * zfs fails reverting to a previous snapshot on reboot when selected on
  grub
  
-  * A miss-merge dropped initramfs hook changes, which result in failing
+  * A miss-merge dropped initramfs hook changes, which result in failing
  to generate and use a new zfs uid.
+ 
+  * Thus revert code to how it was before in
+ https://launchpad.net/ubuntu/+source/zfs-linux/2.0.2-1ubuntu3
  
  [Test Plan]
  
-  * Create snapshot with $ zsysctl save test-sru --system
+  * Create snapshot with $ zsysctl save test-sru --system
  
-  * Reboot and attempt to boot into test-sru snapshot
- 
+  * Reboot and attempt to boot into test-sru snapshot
  
  [Where problems could occur]
  
-  * The change is to initramfs hook only, thus initrd generation and boot
+  * The change is to initramfs hook only, thus initrd generation and boot
  paths are affected. Only latest initrd is rebuilt, rather than old ones,
  meaning booting initrds of older kernel abis will not be resolved.
  
  [Other Info]
-  
-  * Original bug report
+ 
+  * Original bug report
  
  After creating a snapshot with: zsysctl save 211012-linux13-19 -s
  the reboot fails as shown on the screenshot, the other screenshot shows the 
result of the snapshot.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: zsys 0.5.8
  ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14
  Uname: Linux 5.13.0-19-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu70
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: XFCE
  Date: Tue Oct 12 19:11:43 2021
  InstallationDate: Installed on 2021-10-12 (0 days ago)
  InstallationMedia: Xubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  Mounts: Error: [Errno 40] Too many levels of symbolic links: '/proc/mounts'
  ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_zgtuq6@/vmlinuz-5.13.0-19-generic 
root=ZFS=rpool/ROOT/ubuntu_zgtuq6 ro quiet splash
  RelatedPackageVersions:
   zfs-initramfs  2.0.6-1ubuntu2
   zfsutils-linux 2.0.6-1ubuntu2
  SourcePackage: zsys
  SystemdFailedUnits:
  
  UpgradeStatus: No upgrade log present (probably fresh install)
  ZFSImportedPools:
   NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH 
 ALTROOT
   bpool   768M  79.2M   689M        -         -     0%    10%  1.00x    ONLINE 
 -
   rpool    14G  3.33G  10.7G        -         -     1%    23%  1.00x    ONLINE 
 -
  ZFSListcache-bpool:
   bpool        /boot   off     on      on      off     on      off     on      
off     -       none    -       -       -       -       -       -       -       
-
   bpool/BOOT   none    off     on      on      off     on      off     on      
off     -       none    -       -       -       -       -       -       -       
-
   bpool/BOOT/ubuntu_zgtuq6     /boot   on      on      on      off     on      
off     on      off     -       none    -       -       -       -       -       
-       -       -
  ZSYSJournal:
   -- Journal begins at Tue 2021-10-12 18:10:37 AST, ends at Tue 2021-10-12 
19:11:52 AST. --
   -- No entries --
  modified.conffile..etc.apt.apt.conf.d.90_zsys_system_autosnapshot: [deleted]

** Patch added: "lp1946808.patch"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1946808/+attachment/5532393/+files/lp1946808.patch

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

Title:
  zfs fails reverting to a previous snapshot on reboot when selected on
  grub

Status in zfs-linux package in Ubuntu:
  Triaged
Status in zfs-linux source package in Impish:
  Triaged

Bug description:
  [Impact]

   * zfs fails reverting to a previous snapshot on reboot when selected
  on grub

   * A miss-merge dropped initramfs hook changes, which result in
  failing to generate and use a new zfs uid.

   * Thus revert code to how it was before in
  https://launchpad.net/ubuntu/+source/zfs-linux/2.0.2-1ubuntu3

  [Test Plan]

   * Create snapshot with $ zsysctl save test-sru --system

   * Reboot and attempt to boot into test-sru snapshot

  [Where problems could occur]

   * The change is to initramfs hook only, thus initrd generation and
  boot paths are affected. Only latest initrd is rebuilt, rather than
  old ones, meaning booting initrds of older kernel abis will not be
  resolved.

  [Other Info]

   * Original bug report

  After creating a snapshot with: zsysctl save 211012-linux13-19 -s
  the reboot fails as shown on the screenshot, the other screenshot shows the 
result of the snapshot.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: zsys 0.5.8
  ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14
  Uname: Linux 5.13.0-19-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu70
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: XFCE
  Date: Tue Oct 12 19:11:43 2021
  InstallationDate: Installed on 2021-10-12 (0 days ago)
  InstallationMedia: Xubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  Mounts: Error: [Errno 40] Too many levels of symbolic links: '/proc/mounts'
  ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_zgtuq6@/vmlinuz-5.13.0-19-generic 
root=ZFS=rpool/ROOT/ubuntu_zgtuq6 ro quiet splash
  RelatedPackageVersions:
   zfs-initramfs  2.0.6-1ubuntu2
   zfsutils-linux 2.0.6-1ubuntu2
  SourcePackage: zsys
  SystemdFailedUnits:

  UpgradeStatus: No upgrade log present (probably fresh install)
  ZFSImportedPools:
   NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH 
 ALTROOT
   bpool   768M  79.2M   689M        -         -     0%    10%  1.00x    ONLINE 
 -
   rpool    14G  3.33G  10.7G        -         -     1%    23%  1.00x    ONLINE 
 -
  ZFSListcache-bpool:
   bpool        /boot   off     on      on      off     on      off     on      
off     -       none    -       -       -       -       -       -       -       
-
   bpool/BOOT   none    off     on      on      off     on      off     on      
off     -       none    -       -       -       -       -       -       -       
-
   bpool/BOOT/ubuntu_zgtuq6     /boot   on      on      on      off     on      
off     on      off     -       none    -       -       -       -       -       
-       -       -
  ZSYSJournal:
   -- Journal begins at Tue 2021-10-12 18:10:37 AST, ends at Tue 2021-10-12 
19:11:52 AST. --
   -- No entries --
  modified.conffile..etc.apt.apt.conf.d.90_zsys_system_autosnapshot: [deleted]

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