Closed a-schaefers closed 5 years ago
I believe I found the root of the problem, but unfortunately I don't have a GRUB system at the moment. I tried and failed to set up a GRUB VM this evening and seem to have deleted my old ones. I'll get to it as soon as I have time, but if you are able to, you could test out if the fix is working by cloning the issue/19
branch.
I have tested the issue/19 branch with zedenv create and destroy, it does indeed fix the issue.
First discovered in https://github.com/johnramsden/zedenv/issues/14 (and likely unrelated), so reposting this as a zedenv-grub bug:
When running "zedenv destroy foo --verbose" during my tests, it consistently outputs:
Couldn't remove directory /mnt/boot/zfsenv. [Errno 2] No such file or directory: '/mnt/boot/zfsenv'
But still successfully completes the operations. I tried manually creating /mnt/boot/zfsenv, the zfsenv/ directory will be removed still, but the verbose output will still say that it "Couldn't remove directory"...
Example: