** Description changed:

+ [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.
+ 
+ [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
+  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 
 -
+  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    -       -       -       -       -       
-       -       -
+  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 --
+  -- 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]

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to