❯ cat /tmp/grub.log

+ prefix=/usr
+ exec_prefix=/usr
+ datarootdir=/usr/share
+ prefix=/usr
+ exec_prefix=/usr
+ sbindir=/usr/sbin
+ bindir=/usr/bin
+ sysconfdir=/etc
+ PACKAGE_NAME=GRUB
+ PACKAGE_VERSION=2.04-1ubuntu26
+ host_os=linux-gnu
+ datadir=/usr/share
+ [ x = x ]
+ pkgdatadir=/usr/share/grub
+ export pkgdatadir
+ grub_cfg=
+ grub_mkconfig_dir=/etc/grub.d
+ basename /usr/sbin/grub-mkconfig
+ self=grub-mkconfig
+ grub_probe=/usr/sbin/grub-probe
+ grub_file=/usr/bin/grub-file
+ grub_editenv=/usr/bin/grub-editenv
+ grub_script_check=/usr/bin/grub-script-check
+ export TEXTDOMAIN=grub
+ export TEXTDOMAINDIR=/usr/share/locale
+ . /usr/share/grub/grub-mkconfig_lib
+ prefix=/usr
+ exec_prefix=/usr
+ datarootdir=/usr/share
+ datadir=/usr/share
+ bindir=/usr/bin
+ sbindir=/usr/sbin
+ [ x/usr/share/grub = x ]
+ test x/usr/sbin/grub-probe = x
+ test x/usr/bin/grub-file = x
+ test x = x
+ grub_mkrelpath=/usr/bin/grub-mkrelpath
+ which gettext
+ :
+ grub_tab=     
+ test 2 -gt 0
+ option=-o
+ shift
+ argument -o /boot/grub/grub.cfg
+ opt=-o
+ shift
+ test 1 -eq 0
+ echo /boot/grub/grub.cfg
+ grub_cfg=/boot/grub/grub.cfg
+ shift
+ test 0 -gt 0
+ fgrep -qs ${GRUB_PREFIX}/video.lst /etc/grub.d/00_header
+ [ x = x ]
+ id -u
+ EUID=0
+ [ 0 != 0 ]
+ set /usr/sbin/grub-probe dummy
+ test -f /usr/sbin/grub-probe
+ :
+ /usr/sbin/grub-probe --target=device /
/usr/sbin/grub-probe: error: failed to get canonical path of 
`rpool/ROOT/ubuntu_bp7ow2'.
+ GRUB_DEVICE=


** Tags added: apport-collected focal

** Description changed:

  I've been running Ubuntu 20.04 daily builds for about a month. Within
  the past several days, something broke with grub where it is no longer
  able to probe my ZFS datasets in order to build up its menu. This had
  been working fine, aside from the issue #1867007 I previously filed, so
  I believe this is a regression. As a result of it, I'm unable to update
  my kernel.
  
  I noticed it when trying to perform a dist-upgrade, but it's
  reproducible running `grub-update` on its own:
  
  
  ❯ sudo update-grub
  [sudo] password for nirvdrum:
  /usr/sbin/grub-probe: error: failed to get canonical path of 
`rpool/ROOT/ubuntu_bp7ow2'.
  
  ❯ zsysctl list
  ID                        ZSys  Last Used
  --                        ----  ---------
  rpool/ROOT/ubuntu_bp7ow2  true  current
  
  
  I realize that's not much information to go off of. Please let me know what 
other diagnostic information you would need.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.11-0ubuntu27
+ Architecture: amd64
+ CasperMD5CheckResult: skip
+ CurrentDesktop: MATE
+ DistroRelease: Ubuntu 20.04
+ InstallationDate: Installed on 2020-03-12 (46 days ago)
+ InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200309)
+ NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
+ Package: zsys 0.4.5
+ PackageArchitecture: amd64
+ ProcEnviron:
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/usr/bin/fish
+ ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_bp7ow2@/vmlinuz-5.4.0-18-generic 
root=ZFS=rpool/ROOT/ubuntu_bp7ow2 ro quiet splash
+ ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
+ RelatedPackageVersions:
+  zfs-initramfs  0.8.3-1ubuntu12
+  zfsutils-linux 0.8.3-1ubuntu12
+ Tags:  focal
+ Uname: Linux 5.4.0-18-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo
+ ZFSImportedPools:
+  NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH 
 ALTROOT
+  rpool   920G   458G   462G        -         -    21%    49%  1.00x  DEGRADED 
 -
+ 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_bp7ow2     /boot   on      on      on      off     on      
off     on      off     -       none
+ ZSYSDump: Error: command ['zsysctl', 'service', 'dump'] failed with exit code 
1: level=error msg="rpc error: code = DeadlineExceeded desc = context deadline 
exceeded"
+ _MarkForUpload: True

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

Title:
  grub-probe fails with failed to get canonical path of rpool with ZFS

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to