[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-02-23 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2-signed - 1.66.17 --- grub2-signed (1.66.17) xenial; urgency=medium * Rebuild against grub2 2.02~beta2-36ubuntu3.17. (LP: #1527727) -- Scott Moser Thu, 25 Jan 2018 10:05:01 -0500 -- You received this bug notification

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-02-23 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2 - 2.02~beta2-36ubuntu3.17 --- grub2 (2.02~beta2-36ubuntu3.17) xenial; urgency=medium * Signal to zpool that it should emit full names of constituent devices. (LP: #1527727) -- Scott Moser Wed, 24 Jan 2018 16:21:35

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-02-22 Thread Scott Moser
>From the install log you can see that we install grub2 at >2.02~beta2-36ubuntu3.17. .. Unpacking grub2-common (2.02~beta2-36ubuntu3.17) .. 'dpkg-reconfigure grub-pc' and 'grub-install /dev/vda' are run And also: run-parts: executing /etc/kernel/postinst.d/zz-update-grub

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-02-22 Thread Scott Moser
Hi. I've confirmed this fix by using curtin's "vmtest" test harness. I've applied the attached patch to curtin at 82622f129b. The patch does: a.) remove the work arounds we had in place to make zfs root work on xenial. b.) enable proposed Then I've run an install of a system that does a

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-02-22 Thread Scott Moser
** Attachment added: "first boot console log" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/5060822/+files/boot-serial.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-02-22 Thread Scott Moser
** Attachment added: "installation console log" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/5060821/+files/install-serial.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-02-22 Thread Scott Moser
I've removed the verification-failed-xenial tag. The problem reported in bug 1750732 may be related to a grub upgrade, but surely is not related to this specific grub upgrade. Please see the changes

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-02-08 Thread Łukasz Zemczak
Hello Chad, or anyone else affected, Accepted grub2 into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/grub2/2.02~beta2-36ubuntu3.17 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-01-25 Thread Scott Moser
I've uploaded just now grub2 (2.02~beta2-36ubuntu3.17) and grub2-signed (1.66.17) to the xenial SRU queue. There are currently versions in xenial-proposed for these packages with fixes for bug 722950 and bug 1708245. Hopefully after those uploads clear xenial-proposed the fix for this bug will

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-01-24 Thread Scott Moser
I've marked this 'Fix Released' in xenial as Ubuntu's package in xenial at 0.6.5.6-0ubuntu3 which has the fix at [1] as mentioned in comment 29. Further, my experience with our zfs work in curtin indicates that it is fixed. --

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2018-01-24 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~smoser/ubuntu/+source/grub2/+git/grub2/+merge/336577 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2017-05-17 Thread Michael Schnaitter
bumping for Jens' post... https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1687664 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2017-05-02 Thread Jens Elkner
Done - see 1687664. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/... To manage notifications about

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2017-04-29 Thread Chad Miller
Jens, as far as I know, you shouldn't have gotten an error. Please file a new bug report, and include version numbers of 'grub2' and 'zfs- linux'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2017-04-28 Thread Jens Elkner
Just encountered the same problem with xenial: grub-probe: error: failed to get canonical path of `/dev/HDD0p2' See also http://savannah.gnu.org/bugs/?50896 IMHO "zpool status -P $pool" should be used, everything else is a kludge, which will fail sooner or later. ** Bug watch added: GNU

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-10-26 Thread Mathieu Trudel-Lapierre
Currently blocked on a grub SRU in xenial-proposed that isn't completely verified. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-10-24 Thread Timo Aaltonen
cyphermox: Those uploads seem to have been dropped in favor of some other changes, so this needs to be reuploaded -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-08-20 Thread Richard Laager
Colin, with grub2 in yakkety being patched, we should be ready for zfsutils-linux in yakkety to drop /lib/udev/rules.d/69-vdev.rules and "Conflicts: grub2 << 2.02~beta2-36ubuntu5". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-08-20 Thread Richard Laager
[My previous comment was incorrect. I had the wrong file in the wrong package.] Colin, with grub2 in yakkety being patched, we should be ready for zfs- initramfs in yakkety to drop /lib/udev/rules.d/60-zpool.rules and "Conflicts: grub2 << 2.02~beta2-36ubuntu5". -- You received this bug

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-08-12 Thread Richard Laager
cyphermox: Any progress? It's been three months since your last comment where it was close to ready. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-05-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: zfs-linux (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-05-12 Thread Mathieu Trudel-Lapierre
This doesn't really depend on any extra steps -- I've just uploaded grub2 and grub2-signed to xenial-proposed queue, so as soon as it's reviewed by a member of the SRU team it will be available in proposed. >From there, we'll need people to test this carefully to make sure nothing is broken and

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-05-11 Thread Richard Laager
I confirmed the package in yakkety works (on Xenial). That is, I can successfully run update-grub without having the special-case "/dev/disk"-style symlink in /dev. Is the next step to upload this to xenial-proposed? -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-05-10 Thread Mathieu Trudel-Lapierre
Uploaded to yakkety: grub2 (2.02~beta2-36ubuntu5) yakkety; urgency=medium * debian/patches/zpool_full_device_name.patch: Signal to zpool that it should emit full names of constituent devices. ** Changed in: grub2 (Ubuntu) Status: In Progress => Fix Released ** Description changed:

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-04-08 Thread Colin Ian King
** Changed in: zfs-linux (Ubuntu) Status: In Progress => 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/1527727 Title: grub-probe for zfs assumes all devices prefix with /dev,

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-03-23 Thread Colin Ian King
Thanks, I'm keenly aware of this and I'm working on it :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with /dev, ignoring

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-03-23 Thread Hajo Möller
Colin, 0.6.5.6 is out now: https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.6.5.6 https://github.com/zfsonlinux/spl/releases/tag/spl-0.6.5.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-03-21 Thread Colin Ian King
Any idea when 0.6.5.6 will be out? I'll sync up with that as soon as it lands as a Feature Freeze Exception. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-03-19 Thread Hajo Möller
It is my understanding that upgrading to a new upstream ZFS version would require a FFe. I have asked ZFS on Linux's release manager Ned Bass whether he plans to tag a point release which includes the relevant commits soon. -- You received this bug notification because you are a member of

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-03-18 Thread Hajo Möller
Ned replied to my mail already, he plans to release 0.6.5.6 soon: "I hadn't planned to, but it seems worthwhile to get this into 16.04 if it fixes grub-probe. I'll get a 0.6.5.6 release out in the next few days that includes these patches." -- You received this bug notification because you

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-03-15 Thread Clint Silvester
Looks like the needed changes could go into the next release. https://github.com/zfsonlinux/zfs/issues/4414 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-03-14 Thread Richard Laager
Is this going to make the Xenial release? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/... To manage

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-26 Thread Chad Miller
Thanks, Richard. Okay, so first thing to change is grub. After changing grub, at any time we can change zfs-linux to simultaneously, drop the symlink udev rule, accept the environment variable to change output, and Conflict on grub older than the one that starts emitting the new environment

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-25 Thread Richard Laager
** Patch added: "zfs-1527727.debdiff" https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1527727/+attachment/4581527/+files/zfs-1527727.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-25 Thread Richard Laager
The upstream change was merged. I propose the following: 1) Update zfs-linux in Xenial with the patch: https://github.com/zfsonlinux/zfs/commit/d2f3e292dccab23e47ade3c67677a10f353b9e85 2) Patch grub2 in Xenial to setenv("ZPOOL_VDEV_NAME_PATH", "YES") 3) Remove the udev rules from zfs-initramfs

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-24 Thread Marlin Cremers
That'd be great! I hope both ZoL and Ubuntu are able to pull that in in time for 16.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-24 Thread Richard Laager
This is related: https://github.com/zfsonlinux/zfs/pull/4343 If that was merged, then GRUB could be patched to use -L and/or -p. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title:

Re: [Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-22 Thread Marlin Cremers
Technically I'd consider it more of a workaround. The actual issue in GRUB hasn't been resolved. On 22 Feb 2016 12:16 p.m., "Colin Ian King" <1527...@bugs.launchpad.net> wrote: > Chad, can you check if comment #24 is correct, and if so, we can close > this bug > > ** Changed in: zfs-linux

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-22 Thread Colin Ian King
Chad, can you check if comment #24 is correct, and if so, we can close this bug ** Changed in: zfs-linux (Ubuntu) Assignee: Chad Miller (cmiller) => Colin Ian King (colin-king) ** Changed in: zfs-linux (Ubuntu) Importance: Undecided => Medium -- You received this bug notification

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-16 Thread Hajo Möller
Chad, as of now Ubuntu's shipped ZFS comes with a custom udev rule to generate the required links under /dev/, so this patch may not be required. See https://bugs.launchpad.net/ubuntu/+source/zfs- initramfs/+bug/1530953/comments/28 for details. -- You received this bug notification because you

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-16 Thread Chad Miller
** Patch added: "grub2 debdiff to add environment variable to suggest full paths to zfs zpool command" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/4572933/+files/grub2__2.02~beta2-36__2.02~beta2-36ubuntu1.compat-envvar.debdiff -- You received this bug

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-16 Thread Chad Miller
Okay, so making grub ask for zfs details using a new, nonstandard command-line parameter is bad because I can't depend on zfs version Foo in grub, and I don't want to Conflict on older versions, and I don't want zfs zpool status to fail on an unknown parameter. So, this makes zfs zpool peek at

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-16 Thread Chad Miller
Okay, so making grub ask for zfs details using a new, nonstandard command-line parameter is bad because I can't depend on zfs version Foo in grub, and I don't want to Conflict on older versions, and I don't want zfs zpool status to fail on an unknown parameter. So, this makes zfs zpool peek at

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-16 Thread Chad Miller
** Also affects: zfs-linux (Ubuntu) Importance: Undecided Status: New ** Changed in: zfs-linux (Ubuntu) Status: New => Confirmed ** Changed in: zfs-linux (Ubuntu) Assignee: (unassigned) => Chad Miller (cmiller) ** Changed in: zfs-linux (Ubuntu) Status: Confirmed =>

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-16 Thread Marlin Cremers
The idea behind the short name is readability and simplicity. The recommended way to set up a zpool is to use partitions using device labels that allow you to identify devices in the chassis. Adding the full device name would add a lot of unnecessary clutter in the UI. I kind of support the idea

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-16 Thread Martin Pitt
Just prepending /dev to the device name is obviously wrong indeed, but slapping random other prefixes onto it does not make it better really. This hardcodes udev rules and kernel/driver behaviour, which is always going to be brittle or incomplete -- people might set up their own device namings, or

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-15 Thread Chad Miller
What it looks like without this patch: Setting up grub-efi-amd64 (2.02~beta2-36) ... Installing for x86_64-efi platform. grub-install: error: failed to get canonical path of `/dev/ata-ST31000333AS_-part1'. Failed: grub-install --target=x86_64-efi --force-extra-removable WARNING:

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-15 Thread Chad Miller
dasjoe, that's not bad, but I don't know enough of "zdb" to propose it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with /dev,

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-15 Thread Chad Miller
** Patch added: "diff against xenial, again" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/4572495/+files/grub2__2.02~beta2-36__2.02~beta2-36ubuntu1.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-05 Thread Hajo Möller
As the pool name is known we could run: zdb -C poolname to get the pool's configuration, which includes the path to all members of all (available) vdevs. To get the configuration of a known, exported pool we could use: zdb -C -e poolname This will work as long as the pool is not imported and its

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-04 Thread Mathew Hodson
** Bug watch removed: GNU Savannah Bug Tracker #46755 http://savannah.gnu.org/bugs/?46755 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-02 Thread Chad Miller
** Patch added: "debdiff against ubuntu xenial" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/4562558/+files/grub2__2.02~beta2-35ubuntu1__2.02~beta2-35ubuntu2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-02-02 Thread Chad Miller
As noted on IRC, upstream doesn't want this patch. "Use libzfs! We can't anticipate all device names, so we don't want to add any more. Or, change zpool to emit full names." -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-01-28 Thread Mathieu Trudel-Lapierre
Have you sent this to grub upstream? Ideally we should sent it there for inclusion, then we can upload the fix to Debian and sync it to Ubuntu. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-01-20 Thread Chad Miller
(See also https://bugs.launchpad.net/ubuntu/+source/zfs- initramfs/+bug/1530953 ) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-01-14 Thread Colin Ian King
Chad, OK, sounds good to me. Do you want me to SRU this for wily? or are we looking at just for Xenial? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-01-14 Thread Chad Miller
Here's the short summary: libzfs has a license that (most people agree) does not let grub link against it. Linking against it is assumed by grub upstream to be the right way. But they have a fallback way that involves running a zfs utils command to list its devices. The devices the zfs utils

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-01-14 Thread Chad Miller
Colin, I don't think many people expect last release to be capable of ZFS root installation, so I'm happy with ignoring it in 15.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title:

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-01-08 Thread Chad Miller
So, back to patch in #4. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/... To manage notifications

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2016-01-08 Thread Chad Miller
License for libzfs is incompatible with grub. Also, main vs universe. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with /dev, ignoring

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-27 Thread Chad Miller
The correct fix for this is to link in libzfslinux-dev to get smarter zfs polling, instead of parsing output of "zpool" command. ** Changed in: grub2 (Ubuntu) Assignee: (unassigned) => Chad Miller (cmiller) ** Bug watch added: GNU Savannah Bug Tracker #43653

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-27 Thread Chad Miller
** Description changed: update-grub runs /usr/sbin/grub-probe - /usr/sbin/grub-probe runs ["zpool", "status", poolname] + Without libzfslinux support compiled in, /usr/sbin/grub-probe runs + ["zpool", "status", poolname] to find out ZFS info. zpool responds with device names as used at

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-25 Thread Chad Miller
A better change. Commented, manage memory, changelog better. ** Patch added: "2.02~beta2-32ubuntu1 +1 debdiff" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/4540155/+files/grub2_2.02%7Ebeta2-32ubuntu1___2.02%7Ebeta2-32ubuntu2.debdiff ** Patch removed: "xenial

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-25 Thread Chad Miller
** Bug watch added: GNU Savannah Bug Tracker #46755 http://savannah.gnu.org/bugs/?46755 ** Also affects: grub via http://savannah.gnu.org/bugs/?46755 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-18 Thread Chad Miller
** Description changed: update-grub runs /usr/sbin/grub-probe /usr/sbin/grub-probe runs ["zpool", "status", poolname] zpool responds with device names as used at (I think!) pool creation time. Often, this is /dev/disk/by-id/... names, without the path. grub-probe then parses

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-18 Thread Chad Miller
** Description changed: update-grub runs /usr/sbin/grub-probe /usr/sbin/grub-probe runs ["zpool", "status", poolname] zpool responds with device names as used at pool creation time. Often, - this is /dev/disk/by-id/... names. + this is /dev/disk/by-id/... names, without the path.

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-18 Thread Chad Miller
Bug confirmed here: https://github.com/zfsonlinux/grub/issues/5 and step 2 of https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-14.04--- 15.04-to-a-Native-ZFS-Root-Filesystem which advocates some craziness with udev to copy /dev/disk/by-id/ names to /dev/ . -- You received this

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-18 Thread Chad Miller
Attached is debdiff. Important change is in grub- core/osdep/unix/getroot.c, function grub_util_find_root_devices_from_poolname +--- a/grub-core/osdep/unix/getroot.c b/grub-core/osdep/unix/getroot.c +@@ -305,8 +305,18 @@ grub_util_find_root_devices_from_poolnam + } + if

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-18 Thread Chad Miller
Rationale for the order is that it should go in most unique to least unique order. Use device model and serial , then uuid, then human names, then assigned numbers. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

2015-12-18 Thread Mathew Hodson
** Changed in: grub2 (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527727 Title: grub-probe for zfs assumes all devices prefix with /dev, ignoring