Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562407
en ru br
ALT Linux repos
S:7.4.3-alt6

Group :: System/Servers
RPM: pve-manager

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: pve-manager-perl-T.patch
Download


--- pve-manager/PVE/Report.pm.T	2021-09-27 09:13:13.647871975 +0000
+++ pve-manager/PVE/Report.pm	2021-09-27 09:16:19.468529192 +0000
@@ -19,9 +19,6 @@ my sub dir2text {
     return $text;
 }
 
-# command -v is the posix equivalent of 'which'
-my sub cmd_exists { system("command -v '$_[0]' > /dev/null 2>&1") == 0 }
-
 my $init_report_cmds = sub {
     my $report_def = {
 	general => {
@@ -118,14 +115,6 @@ my $init_report_cmds = sub {
 	},
     };
 
-    if (cmd_exists('zfs')) {
-	push @{$report_def->{volumes}->{cmds}},
-	    'zpool status',
-	    'zpool list -v',
-	    'zfs list',
-	    ;
-    }
-
     if (-e '/etc/ceph/ceph.conf') {
 	push @{$report_def->{volumes}->{cmds}},
 	    'pveceph status',
@@ -139,14 +128,6 @@ my $init_report_cmds = sub {
 	    ;
     }
 
-    if (cmd_exists('multipath')) {
-	push @{$report_def->{disks}->{cmds}},
-	    'cat /etc/multipath.conf',
-	    'cat /etc/multipath/wwids',
-	    'multipath -ll',
-	    ;
-    }
-
     return $report_def;
 };
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin