[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
As mentioned, the patch does not work. Someone would have to rewrite it with printf instead of echo for it to be portable across all shells. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
I would have to agree with teason; I'm not sure how leaving a system in an unbootable (unusable) state can be considered acceptable and not a bug; especially when the fix is so simple and minor? Please just fix it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
Why is this an invalid issue? There are a number of commercial packages for redhat that don't really support ubuntu unless you change the shell. Also you get zero notification from dash that you are about to break your zfs system. It appears from /usr/share/doc/dash/NEWS.Debian.gz that changing your shell is supported behavior. Even if changing your shell is not allowed, how is silently breaking your system in a way that will make your system unbootable an acceptable solution? Especially when you could just call 10_linux_zfs explicitly with /bin/dash if it relies on undefined behavior in dash? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
** Changed in: grub2 (Ubuntu) Status: New => Incomplete ** Changed in: grub2 (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
Also, please close this issue as Not a bug. I reverted the state of symlink and it did well with dash. The issue in fact is what changed the default kernel, since manual change was made by me. After a dpkg-reconfigure dash and selecting the dash as sh link, things does well again. I can't tell what in fact changed default sh to bash, but its another issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
Hello Julian, I did not changed by my own the point of /bin/sh but in fact you're correct root@manauara:~# ls -lah /bin/sh lrwxrwxrwx 1 root root 4 jun 3 22:19 /bin/sh -> bash What is the correct way to fix this issue? Also, may not all scripts of Ubuntu that depends on dash syntax point to dash directly? There is a way I can check who is the package that changed that link? root@manauara:~# update-alternatives --get-selections | grep ^sh ; echo $? 1 root@manauara:~# (I've tried to found something inside scripts at /var/lib/dpkg/info but without success until now). How can I find who changed the shell? If its an official package, I'll send the bug report about changing sh symlink. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
The patch is wrong, echo in /bin/sh -> /bin/dash does not support an -e argument. It seems you reconfigured your system so that /bin/sh points to /bin/bash. Use of echo with escape characters is undefined, the code must use printf. ** Tags removed: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
The attachment "Patch for echo -e issue at 10_linux_zfs" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu- reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1887257] Re: update-grub does not create any entry on grub.cfg for ZFS on root
Hello! I did a deeper troubleshoot and found an issue with 10_linux_zfs script. I created the attached patch and it fixed the issue. Can you please check this patch? Leonardo ** Patch added: "Patch for echo -e issue at 10_linux_zfs" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+attachment/5394378/+files/grub_1887257_patch.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887257 Title: update-grub does not create any entry on grub.cfg for ZFS on root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1887257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs