[Pkg-zfsonlinux-devel] Bug#902332: zfsutils-linux: arc_summary fails with an error TypeError: unorderable types: str() > int()

Jason Lewis jason at dickson.st
Mon Jun 25 05:53:50 BST 2018


Package: zfsutils-linux
Version: 0.6.5.9-5
Severity: normal

Dear Maintainer,

   * What led up to the situation?

   running /usr/sbin/arc_summary from the command line prints some info
but then encounters an error:

Traceback (most recent call last):
  File "/usr/sbin/arc_summary", line 1148, in <module>
    main()
  File "/usr/sbin/arc_summary", line 1144, in main
    page(Kstat)
  File "/usr/sbin/arc_summary", line 724, in _l2arc_summary
    arc["l2_arc_evicts"]["reading"] > 0:
TypeError: unorderable types: str() > int()

I tested on another stretch installation, but it worked fine there.

* What was the outcome of this action?

it exits with an error

* What outcome did you expect instead?

I expect it to exit without an error. It appears this bug has been fixed
upstream

https://github.com/zfsonlinux/zfs/commit/5eac94bffd3b98c585eecfbf3fbf444362573142



-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zfsutils-linux depends on:
ii  init-system-helpers  1.48
ii  libblkid1            2.29.2-1+deb9u1
ii  libc6                2.24-11+deb9u3
ii  libnvpair1linux      0.6.5.9-5
ii  libuuid1             2.29.2-1+deb9u1
ii  libuutil1linux       0.6.5.9-5
ii  libzfs2linux         0.6.5.9-5
ii  libzpool2linux       0.6.5.9-5
ii  python3              3.5.3-1
ii  zlib1g               1:1.2.8.dfsg-5

Versions of packages zfsutils-linux recommends:
ii  lsb-base                9.20161125
ii  zfs-dkms [zfs-modules]  0.6.5.9-5
ii  zfs-zed                 0.6.5.9-5

Versions of packages zfsutils-linux suggests:
ii  nfs-kernel-server           1:1.3.4-2.1
pn  samba-common-bin            <none>
pn  zfs-initramfs | zfs-dracut  <none>

-- Configuration Files:
/etc/sudoers.d/zfs [Errno 13] Permission denied: '/etc/sudoers.d/zfs'

-- no debconf information



More information about the Pkg-zfsonlinux-devel mailing list