I was able to fix this by adding the missing props from
libzfs/sys/fs/zfs.h to the common.go in the vendored go-libzfs. The zsys
package is using a [fork](https://github.com/ubuntu/go-libzfs) but
[upstream](https://github.com/bicomsystems/go-libzfs) has a
[commit](https://github.com/bicomsystems/go-
libzfs/commit/cecf993df3de9f190f80389b94710d29b6c57066) that avoids
loading props not known to go-libzfs.

I could cherry-pick that commit and make a PR and/or add the unknown
props, but I don't know if anyone is maintaining the canonical fork of
go-libzfs. I'll give it a shot, though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2106501

Title:
  zsysd failing to start: panic: runtime error: index out of range [40]
  with length 37

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/2106501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to