Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559069
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-alt.patch
Download


--- pve-manager/Makefile.alt	2021-08-05 14:22:06.000000000 +0000
+++ pve-manager/Makefile	2021-09-30 09:55:46.693230797 +0000
@@ -49,7 +49,7 @@ upload: ${DEB} check
 
 .PHONY: install
 install: vzdump-hook-script.pl
-	install -d -m 0700 -o www-data -g www-data ${DESTDIR}/var/log/pveproxy
+	install -d -m 0700 ${DESTDIR}/var/log/pveproxy
 	install -d ${DOCDIR}/examples
 	install -d ${DESTDIR}/var/lib/${PACKAGE}
 	install -d ${DESTDIR}/var/lib/vz/images
--- pve-manager/PVE/API2/Services.pm.alt	2021-08-05 14:22:06.000000000 +0000
+++ pve-manager/PVE/API2/Services.pm	2021-09-30 09:56:06.214296677 +0000
@@ -28,13 +28,9 @@ my $service_name_list = [
     'pve-ha-crm',
     'pve-ha-lrm',
     'sshd',
-    'syslog',
-    'systemd-journald',
-    'cron',
+    'crond',
     'postfix',
     'ksmtuned',
-    'systemd-timesyncd',
-    'chrony',
 ];
 my $essential_services = {
     pveproxy => 1,
--- pve-manager/PVE/API2Tools.pm.alt	2021-08-05 14:22:06.000000000 +0000
+++ pve-manager/PVE/API2Tools.pm	2021-09-30 09:55:46.694230800 +0000
@@ -22,7 +22,7 @@ sub get_hwaddress {
 
     return $hwaddress if defined ($hwaddress);
 
-    my $fn = '/etc/ssh/ssh_host_rsa_key.pub';
+    my $fn = '/etc/openssh/ssh_host_rsa_key.pub';
     my $sshkey = PVE::Tools::file_get_contents($fn);
     $hwaddress = uc(md5_hex($sshkey));
 
--- pve-manager/PVE/CLI/Makefile.alt	2021-08-05 14:22:06.000000000 +0000
+++ pve-manager/PVE/CLI/Makefile	2021-09-30 09:55:46.694230800 +0000
@@ -9,5 +9,5 @@ install: ${SOURCES}
 	install -d -m 0755 ${PERLLIBDIR}/PVE/CLI
 	for i in ${SOURCES}; do install -D -m 0644 $$i ${PERLLIBDIR}/PVE/CLI/$$i; done
 
-
+all:
 clean:
--- pve-manager/PVE/CLI/pveceph.pm.alt	2021-08-05 14:22:06.000000000 +0000
+++ pve-manager/PVE/CLI/pveceph.pm	2021-09-30 09:55:46.694230800 +0000
@@ -272,8 +272,8 @@ our $cmddef = {
     },
     start => [ 'PVE::API2::Ceph', 'start', [], { node => $nodename }, $upid_exit],
     stop => [ 'PVE::API2::Ceph', 'stop', [], { node => $nodename }, $upid_exit],
-    install => [ __PACKAGE__, 'install', [] ],
-    purge => [  __PACKAGE__, 'purge', [] ],
+#    install => [ __PACKAGE__, 'install', [] ],
+#    purge => [  __PACKAGE__, 'purge', [] ],
     status => [ __PACKAGE__, 'status', []],
 };
 
--- pve-manager/PVE/Service/Makefile.alt	2021-08-05 14:22:06.000000000 +0000
+++ pve-manager/PVE/Service/Makefile	2021-09-30 09:55:46.694230800 +0000
@@ -9,4 +9,5 @@ install: ${SOURCES}
 	install -d -m 0755 ${PERLLIBDIR}/PVE/Service
 	for i in ${SOURCES}; do install -D -m 0644 $$i ${PERLLIBDIR}/PVE/Service/$$i; done
 
+all:
 clean:
--- pve-manager/bin/Makefile.alt	2021-08-05 14:22:06.000000000 +0000
+++ pve-manager/bin/Makefile	2021-09-30 09:55:46.694230800 +0000
@@ -71,7 +71,7 @@ install: ${SCRIPTS} ${CLI_MANS} ${SERVIC
 	install -m 0755 ${SCRIPTS} ${BINDIR}
 	install -d ${USRSHARE}/helpers
 	install -m 0755 pve-startall-delay ${USRSHARE}/helpers
-	install -s -m 2755 -g www-data pvemailforward ${BINDIR}
+	install -s pvemailforward ${BINDIR}
 	install -d ${MAN1DIR}
 	install -m 0644 ${CLI_MANS} ${MAN1DIR}
 	install -d ${MAN8DIR}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin