johnramsden / zectl

ZFS Boot Environment manager for Linux
MIT License
189 stars 16 forks source link

Debugging failed hooks #30

Open exolab opened 3 years ago

exolab commented 3 years ago

This is probably not so much an issue with zectl, more of a lack of knowledge on my part.

How do I find out why a post-create hook failed? I can see that there are a lot of meaningful errors in the code...

johnramsden commented 3 years ago

Right now the actual cause of the error is not reported back to the user. Improvements should be made notify what caused the hook to fail, this is on my list of things to add.

If you can let me know how you set things up I might be able to help.