[Bug 1874304] Re: grub-probe fails with failed to get canonical path of rpool with ZFS

2020-04-29 Thread Kevin Menard
I'm unfortunately not going to be able to repair the pool. Since grub-
mkconfig was blocking all apt package installation, I simply added "exit
0" to the top of the script to get things working. But, this was a bad
time to discover my backups weren't working. That's my fault for not
verifying them. I used to have a manually created ZFS root using the ZoL
documentation and replicated that back to a FreeNAS system (FreeBSD
11.3). This time I let Ubuntu create the root and apparently it added
feature flags that FreeBSD doesn't so my replication system ceased
working.

So, it's looking like I'm just going to have to recreate the pool. I
leave it up to you as to whether you want to close this issue out. I do
think it'd be nice if a grub-mkconfig failing didn't get apt into a
state where nothing can be added or removed until grub-mkconfig
successfully runs. It may very well be the case that fixing the pool
requires fetching another software package.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] ZSYSJournal.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "ZSYSJournal.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362163/+files/ZSYSJournal.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] ZFSPoolsStatus.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "ZFSPoolsStatus.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362162/+files/ZFSPoolsStatus.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] ZFSModules.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "ZFSModules.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362159/+files/ZFSModules.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] ZFSListcache-rpool.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "ZFSListcache-rpool.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362158/+files/ZFSListcache-rpool.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] ZFSPoolCache.gz

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "ZFSPoolCache.gz"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362161/+files/ZFSPoolCache.gz

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] ZFSMounts.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "ZFSMounts.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362160/+files/ZFSMounts.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] SystemdFailedUnits.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "SystemdFailedUnits.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362156/+files/SystemdFailedUnits.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] Re: grub-probe fails with failed to get canonical path of rpool with ZFS

2020-04-27 Thread Kevin Menard
❯ 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
  IDZSys  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=
+  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:
+  NAMESIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAGCAP  DEDUPHEALTH 
 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   noneoff 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] Dependencies.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "Dependencies.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362150/+files/Dependencies.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] ZFSDatasets.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "ZFSDatasets.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362157/+files/ZFSDatasets.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] MountsGenerated.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "MountsGenerated.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362153/+files/MountsGenerated.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] Grub.cfg.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "Grub.cfg.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362151/+files/Grub.cfg.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] ProcCpuinfoMinimal.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362154/+files/ProcCpuinfoMinimal.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] SystemdDefaultUnitsState.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "SystemdDefaultUnitsState.txt"
   
https://bugs.launchpad.net/bugs/1874304/+attachment/5362155/+files/SystemdDefaultUnitsState.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] Mounts.txt

2020-04-27 Thread Kevin Menard
apport information

** Attachment added: "Mounts.txt"
   https://bugs.launchpad.net/bugs/1874304/+attachment/5362152/+files/Mounts.txt

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1874304] Re: grub-probe fails with failed to get canonical path of rpool with ZFS

2020-04-23 Thread Kevin Menard
Sorry about not using apport. I wasn't sure I was picking the correct
package and didn't want to send over a bunch of useless logs. But, if
there's something in particular you'd like, I'm happy to collect it.

As for the package listing:

❯ dpkg -l "*zfs*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version Architecture Description
+++-=-===--==
un  libguestfs-zfs (no description available)
un  libzfs2(no description available)
ii  libzfs2linux  0.8.3-1ubuntu12 amd64OpenZFS filesystem library 
for Linux
un  zfs(no description available)
ii  zfs-auto-snapshot 1.2.4-2 all  ZFS automatic snapshot 
service
un  zfs-dkms   (no description available)
un  zfs-dracut (no description available)
un  zfs-fuse   (no description available)
ii  zfs-initramfs 0.8.3-1ubuntu12 amd64OpenZFS root filesystem 
capabilities for Linux - initramfs
un  zfs-modules(no description available)
ii  zfs-zed   0.8.3-1ubuntu12 amd64OpenZFS Event Daemon
un  zfsutils   (no description available)
ii  zfsutils-linux0.8.3-1ubuntu12 amd64command-line tools to manage 
OpenZFS filesystems

-- 
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/grub2/+bug/1874304/+subscriptions

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

[Bug 1874304] [NEW] grub-probe fails with failed to get canonical path of rpool with ZFS

2020-04-22 Thread Kevin Menard
Public bug reported:

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
IDZSys  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.

** Affects: grub2 (Ubuntu)
 Importance: Undecided
 Status: New

** 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: 
+ [sudo] password for nirvdrum:
  /usr/sbin/grub-probe: error: failed to get canonical path of 
`rpool/ROOT/ubuntu_bp7ow2'.
- ```
  
- I realize that's not much information to go off of. Please let me know
- what other diagnostic information you would need.
+ ❯ zsysctl list
+ IDZSys  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.

-- 
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/grub2/+bug/1874304/+subscriptions

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

[Bug 1867007] Re: zfs-initramfs fails with multiple rpool on separate disks

2020-03-27 Thread Kevin Menard
** Description changed:

  == Test Case ==
  1. On a multi disks setup, install Ubuntu with ZFS on disk 1
  2. Reboot and make sure everything works as expected
  3. Do a second installation and install Ubuntu with ZFS on disk 2
  4. Reboot
  
- * Expected Result * 
+ * Expected Result *
  GRUB should display all the machines available and let the user select which 
installation to boot
  
- * Actual result * 
+ * Actual result *
  - Only one machine is listed
  - initramfs crashes because there are several pool with the same name but 
different IDs and import the pools by name
  - Same problem in the systemd generator which will try to import all the 
rpools.
- 
  
  == Original Description ==
  
  I had an Ubuntu old installation that used a ZFS root, using the layout
  described in the ZFS on Linux docs. Consequently, the pool name for my
  Ubuntu installation was "rpool". I'm currently encountering an issue
  with that pool that only allows me to mount it read-only. So, I'd like
  to replicate the datasets from there to a new device.
  
  On the new device, I've set up a ZFS system using the Ubuntu 20.04 daily
  installer (March 9, 2020). This setup creates a new pool named "rpool".
  So, with both devices inserted, I have two distinct pools each named
  "rpool", one of which will kernel panic if I try to mount it read-write.
  
  ZFS is fine with having multiple pools with the same name. In these
  cases, you use `zfs import` with the pool's GUID and give it a distinct
  pool name on import. However, the grub config for booting from ZFS
  doesn't appear to handle multiple pools with the same rpool name very
  well. Rather than using the pool's GUID, it uses the name, and as such,
  it's unable to boot properly when another pool with the name "rpool" is
  attached to the system.
  
  I think it'd be better if the config were written in such a way that
  `update-grub` generated boot config bound to whatever pool it found at
  the time of its invocation, and not start searching through all pools
  dynamically upon boot. Just to be clear, I have an Ubuntu 20.04 system
  with a ZFS root that boots just fine. But, the moment I attach the old
  pool, also named "rpool", I'm no longer able to boot up my system even
  though I haven't removed the good pool and I haven't re-run `update-
- grub`. Instead of botoing, I'm thrown into the grub command line.
+ grub`. Instead of booting, I'm thrown into the grub command line.

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

Title:
  zfs-initramfs fails with multiple rpool on separate disks

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

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

[Bug 1867007] Re: ZFS won't boot if multiple rpools found

2020-03-11 Thread Kevin Menard
** Tags added: zfs

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

Title:
  ZFS won't boot if multiple rpools found

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

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

[Bug 1867007] [NEW] ZFS won't boot if multiple rpools found

2020-03-11 Thread Kevin Menard
Public bug reported:

I had an Ubuntu old installation that used a ZFS root, using the layout
described in the ZFS on Linux docs. Consequently, the pool name for my
Ubuntu installation was "rpool". I'm currently encountering an issue
with that pool that only allows me to mount it read-only. So, I'd like
to replicate the datasets from there to a new device.

On the new device, I've set up a ZFS system using the Ubuntu 20.04 daily
installer (March 9, 2020). This setup creates a new pool named "rpool".
So, with both devices inserted, I have two distinct pools each named
"rpool", one of which will kernel panic if I try to mount it read-write.

ZFS is fine with having multiple pools with the same name. In these
cases, you use `zfs import` with the pool's GUID and give it a distinct
pool name on import. However, the grub config for booting from ZFS
doesn't appear to handle multiple pools with the same rpool name very
well. Rather than using the pool's GUID, it uses the name, and as such,
it's unable to boot properly when another pool with the name "rpool" is
attached to the system.

I think it'd be better if the config were written in such a way that
`update-grub` generated boot config bound to whatever pool it found at
the time of its invocation, and not start searching through all pools
dynamically upon boot. Just to be clear, I have an Ubuntu 20.04 system
with a ZFS root that boots just fine. But, the moment I attach the old
pool, also named "rpool", I'm no longer able to boot up my system even
though I haven't removed the good pool and I haven't re-run `update-
grub`. Instead of botoing, I'm thrown into the grub command line.

** Affects: grub2 (Ubuntu)
 Importance: Undecided
 Status: New

** Description changed:

  I had an Ubuntu old installation that used a ZFS root, using the layout
  described in the ZFS on Linux docs. Consequently, the pool name for my
  Ubuntu installation was "rpool". I'm currently encountering an issue
  with that pool that only allows me to mount it read-only. So, I'd like
  to replicate the datasets from there to a new device.
  
  On the new device, I've set up a ZFS system using the Ubuntu 20.04 daily
  installer (March 9, 2020). This setup creates a new pool named "rpool".
  So, with both devices inserted, I have two distinct pools each named
  "rpool", one of which will kernel panic if I try to mount it read-write.
  
  ZFS is fine with having multiple pools with the same name. In these
  cases, you use `zfs import` with the pool's GUID and give it a distinct
  pool name on import. However, the grub config for booting from ZFS
  doesn't appear to handle multiple pools with the same rpool name very
  well. Rather than using the pool's GUID, it uses the name, and as such,
  it's unable to boot properly when another pool with the name "rpool" is
  attached to the system.
  
  I think it'd be better if the config were written in such a way that
  `update-grub` generated boot config bound to whatever pool it found at
  the time of its invocation, and not start searching through all pools
  dynamically upon boot. Just to be clear, I have an Ubuntu 20.04 system
  with a ZFS root that boots just fine. But, the moment I attach the old
  pool, also named "rpool", I'm no longer able to boot up my system even
  though I haven't removed the good pool and I haven't re-run `update-
- grup`. Instead of botoing, I'm thrown into the grub command line.
+ grub`. Instead of botoing, I'm thrown into the grub command line.

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

Title:
  ZFS won't boot if multiple rpools found

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

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

[Bug 936143] Re: Please update openjdk7u2/icedtea2.0 to version 7u3/2.1

2012-04-01 Thread Kevin Menard
Shouldn't this still be backported to the releases still seeing security
updates?  It's great that it's in 12.04, but that's not yet released.

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

Title:
  Please update openjdk7u2/icedtea2.0 to version 7u3/2.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/936143/+subscriptions

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