The patches changing arcstat to zarcstat in our reports[0], brought up
the point that we probably want to re-add the old paths for
arc_summary and arcstat as symlinks for backward compatibility.
I originally oriented the patches on debian-upstream, however new
minor ZFS versions (2.4 vs. 2.3) are only available via backports on
plain debian (and installing from backports is usually a more
conscious step compared to installing the lates updates from our
repositories).

the links orient themselves on the executables shipped in our
zfsutils-linux 2.3.4-pve1.

additionally re-add the conflicts on nordugrid-arc-client, which
still ships (a completely unrelated) arcstat executable.

[0] 
https://lore.proxmox.com/pve-devel/[email protected]/T/#t

Fixes:  b52bb3caa ("d/: rename arcstat and arc_summary to zarcstat and 
zarcsummary")
Suggested-by: Friedrich Weber <[email protected]>
Suggested-by: Thomas Lamprecht <[email protected]>
Signed-off-by: Stoiko Ivanov <[email protected]>
---
 debian/control              | 2 +-
 debian/zfsutils-linux.links | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 513884849..c7c31f93e 100644
--- a/debian/control
+++ b/debian/control
@@ -216,7 +216,7 @@ Architecture: linux-any
 Depends: python3, ${misc:Depends}, ${shlibs:Depends},
 Recommends: zfs-zed,
 Suggests: nfs-kernel-server, samba-common-bin (>= 3.0.23), zfs-initramfs,
-Conflicts: zfs, zfs-fuse
+Conflicts: zfs, zfs-fuse, nordugrid-arc-client
 Provides: zfsutils,
 Description: command-line tools to manage OpenZFS filesystems
  OpenZFS is a storage platform that encompasses the functionality of
diff --git a/debian/zfsutils-linux.links b/debian/zfsutils-linux.links
index bb2454916..c00969e20 100644
--- a/debian/zfsutils-linux.links
+++ b/debian/zfsutils-linux.links
@@ -3,3 +3,6 @@ usr/sbin/zpool    usr/bin/zpool
 usr/lib/zfs-linux/zpool_influxdb  usr/bin/zpool_influxdb
 usr/bin/zilstat      usr/sbin/zilstat
 usr/bin/zvol_wait    usr/sbin/zvol_wait
+usr/bin/zarcsummary usr/bin/arc_summary
+usr/bin/zarcsummary usr/sbin/arc_summary
+usr/bin/zarcstat usr/sbin/arcstat
-- 
2.47.3




Reply via email to