Follow-up Comment #1, bug #52746 (project grub):

Some more context:

Grub apparently passes this (invalid) value to initramfs, which is processed
here under Debian:
https://anonscm.debian.org/cgit/pkg-zfsonlinux/zfs.git/tree/contrib/initramfs/scripts/zfs#n770

And this is apparently passed verbatim to zfsonlinux, which dies here:
https://github.com/zfsonlinux/zfs/search?utf8=%E2%9C%93&q=%22trailing+slash+in+name%22&type=

I think it sounds sane that ZOL has this validation. One might argue that the
first link is a bit confusing since their format string includes the slash
unconditionally, so at least their documentation should be fixed. I'm not sure
why this file is under a Debian repo, probably other distros have a different
file with similar functionality?

I'm pretty sure life would be great if update-grub produced a valid name, ie.
without the trailing slash. That should hopefully not break any existing
setup.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52746>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to