I tested 0.6.5.6-0ubuntu13 on a Xenial system with no python2 installed; only python3. I did this by first upgrading the ZFS packages and then purging the python2 packages. All three scripts work as expected. I did a basic run of each with no arguments.
For the record, in case anyone has this same concern... I'm not in love with patching the scripts to use /usr/bin/python3, but that does seem to be necessary. When I removed python2, there is no /usr/bin/python. I had expected that the python3 package would use the alternatives mechanism to register /usr/bin/python, but that does not seem to be the case. Accordingly, I have marked this verification-done. ** Tags added: verification-done -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1627909 Title: [SRU] zfs-linux should be using python3 for python userspace tools Status in zfs-linux package in Ubuntu: Fix Released Status in zfs-linux source package in Xenial: Fix Committed Status in zfs-linux source package in Yakkety: Fix Released Bug description: SRU REQUEST, Xenial [IMPACT] dbufstat.py arc_summary.py arcstat.py should be using python3 rather than the older python2 [Test case] running these ZFS helper tools should run with w/o python2 installed (and instead work with python3) [Regression potential] These helper scripts for checking ZFS state won't work if we regress. However it will not affect overall ZFS per se as these scripts are useful utilities and not part of the core ZFS functionality. Risk to ZFS core functionality on this SRU is therefore zero. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1627909/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : email@example.com Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp