Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zectl nvlist run error #44

Open
Sithuk opened this issue Dec 28, 2021 · 1 comment
Open

Zectl nvlist run error #44

Sithuk opened this issue Dec 28, 2021 · 1 comment
Labels
Type: Bug Something isn't working

Comments

@Sithuk
Copy link

Sithuk commented Dec 28, 2021

I've compiled and installed zectl in an ubuntu system with systemd-boot. Unfortunately I get the following error when I run "zectl create test".

nvlist_add_string(nvl, name, val) == 0 (0x16 == 0)
ASSERT at ../../module/nvpair/fnvpair.c:199:fnvlist_add_string()Aborted

"zectl version" gives 0.1.3.

The installation can be created using the zectl branch of the ubuntu zfsbootmenu install script.
https://gitlab.com/Sithuk/ubuntu-server-zfsbootmenu/-/tree/systemd-boot_zectl

Do you know what might be causing the issue?

@skygunner
Copy link

Same issue in zectl 0.1.5

archlinux

:: Running pre-transaction hooks...
(1/4) Create a boot environment
ASSERT at module/nvpair/fnvpair.c:199:fnvlist_add_string()
nvlist_add_string(nvl, name, val) == 0 (0x16 == 0)
  PID: 4679      COMM: zectl
  TID: 4679      NAME: zectl
Call trace:
  /usr/lib/libnvpair.so.3(libspl_assertf+0x163) [0x7f5bf05829d3]
  /usr/lib/libze.so(+0x3233) [0x7f5bf0563233]
  /usr/lib/libzfs.so.4(zprop_iter_common+0xae) [0x7f5befcdb8de]
  /usr/lib/libze.so(+0x43d4) [0x7f5bf05643d4]
  /usr/lib/libze.so(libze_clone+0x9e) [0x7f5bf056865e]
  /usr/lib/libze.so(libze_create+0x540) [0x7f5bf0568f20]
  /usr/bin/zectl(+0x2b5c) [0x60552f30cb5c]
  /usr/bin/zectl(+0x24ae) [0x60552f30c4ae]
  /usr/lib/libc.so.6(+0x261ce) [0x7f5befd6f1ce]
  /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f5befd6f28a]
  /usr/bin/zectl(+0x2595) [0x60552f30c595]
/usr/share/libalpm/scripts/zectl-prune: line 47:  4679 Aborted                 (core dumped) $BIN create "$bename"
error: command failed to execute correctly
(2/4) Removing initramfs...
(3/4) Removing linux initcpios...
(4/4) Remove DKMS modules

still created snapshot fine int he process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants