mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
sys-cluster/pcs: scrub patch
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
diff -uPNr a/pcs-0.10.7/pcs/lib/external.py b/pcs-0.10.7/pcs/lib/external.py
|
||||
--- a/pcs-0.10.7/pcs/lib/external.py 2020-12-15 17:02:49.055879169 +0100
|
||||
+++ b/pcs-0.10.7/pcs/lib/external.py 2020-12-15 21:13:41.878627331 +0100
|
||||
--- a/pcs-0.10.7/pcs/lib/external.py
|
||||
+++ b/pcs-0.10.7/pcs/lib/external.py
|
||||
@@ -13,8 +13,8 @@
|
||||
from pcs.lib.errors import LibraryError
|
||||
|
||||
@@ -82,9 +81,8 @@ diff -uPNr a/pcs-0.10.7/pcs/lib/external.py b/pcs-0.10.7/pcs/lib/external.py
|
||||
if return_code != 0:
|
||||
return []
|
||||
|
||||
diff -uPNr a/pcs-0.10.7/pcs/settings_default.py b/pcs-0.10.7/pcs/settings_default.py
|
||||
--- a/pcs-0.10.7/pcs/settings_default.py 2020-12-15 17:02:49.056879154 +0100
|
||||
+++ b/pcs-0.10.7/pcs/settings_default.py 2020-12-16 21:59:28.541361537 +0100
|
||||
--- a/pcs-0.10.7/pcs/settings_default.py
|
||||
+++ b/pcs-0.10.7/pcs/settings_default.py
|
||||
@@ -1,8 +1,8 @@
|
||||
import os.path
|
||||
|
||||
@@ -114,9 +112,8 @@ diff -uPNr a/pcs-0.10.7/pcs/settings_default.py b/pcs-0.10.7/pcs/settings_defaul
|
||||
# this limit is also mentioned in docs, change there as well
|
||||
sbd_max_device_num = 3
|
||||
# message types are also mentioned in docs, change there as well
|
||||
diff -uPNr a/pcs-0.10.7/pcs/settings.py.debian b/pcs-0.10.7/pcs/settings.py.debian
|
||||
--- a/pcs-0.10.7/pcs/settings.py.debian 2020-12-15 17:02:49.055879169 +0100
|
||||
+++ b/pcs-0.10.7/pcs/settings.py.debian 2020-12-16 09:36:10.493104892 +0100
|
||||
--- a/pcs-0.10.7/pcs/settings.py.debian
|
||||
+++ b/pcs-0.10.7/pcs/settings.py.debian
|
||||
@@ -1,10 +1,10 @@
|
||||
from pcs.settings_default import *
|
||||
-service_binary = "/usr/sbin/service"
|
||||
@@ -133,9 +130,8 @@ diff -uPNr a/pcs-0.10.7/pcs/settings.py.debian b/pcs-0.10.7/pcs/settings.py.debi
|
||||
pcsd_exec_location = "/usr/share/pcsd/"
|
||||
pcsd_gem_path = None
|
||||
pcsd_config = "/etc/default/pcsd"
|
||||
diff -uPNr a/pcs-0.10.7/pcs/utils.py b/pcs-0.10.7/pcs/utils.py
|
||||
--- a/pcs-0.10.7/pcs/utils.py 2020-12-15 17:02:49.056879154 +0100
|
||||
+++ b/pcs-0.10.7/pcs/utils.py 2020-12-16 21:57:09.487686936 +0100
|
||||
--- a/pcs-0.10.7/pcs/utils.py
|
||||
+++ b/pcs-0.10.7/pcs/utils.py
|
||||
@@ -2187,7 +2187,7 @@
|
||||
)
|
||||
else:
|
||||
@@ -154,9 +150,8 @@ diff -uPNr a/pcs-0.10.7/pcs/utils.py b/pcs-0.10.7/pcs/utils.py
|
||||
)
|
||||
return join_multilines([stderr, stdout]), retval
|
||||
|
||||
diff -uPNr a/pcs-0.10.7/pcsd/pcs.rb b/pcs-0.10.7/pcsd/pcs.rb
|
||||
--- a/pcs-0.10.7/pcsd/pcs.rb 2020-12-15 17:02:49.063879050 +0100
|
||||
+++ b/pcs-0.10.7/pcsd/pcs.rb 2020-12-16 21:54:52.337982100 +0100
|
||||
--- a/pcs-0.10.7/pcsd/pcs.rb
|
||||
+++ b/pcs-0.10.7/pcsd/pcs.rb
|
||||
@@ -1708,11 +1708,22 @@
|
||||
def is_service_enabled?(service)
|
||||
if ISSYSTEMCTL
|
||||
@@ -239,9 +234,8 @@ diff -uPNr a/pcs-0.10.7/pcsd/pcs.rb b/pcs-0.10.7/pcsd/pcs.rb
|
||||
_, _, retcode = run_cmd(PCSAuth.getSuperuserAuth(), *cmd)
|
||||
return (retcode == 0)
|
||||
I file binari a/pcs-0.10.7/pcsd/.pcs.rb.swp e b/pcs-0.10.7/pcsd/.pcs.rb.swp sono diversi
|
||||
diff -uPNr a/pcs-0.10.7/pcsd/settings.rb b/pcs-0.10.7/pcsd/settings.rb
|
||||
--- a/pcs-0.10.7/pcsd/settings.rb 2020-12-15 17:02:49.065879020 +0100
|
||||
+++ b/pcs-0.10.7/pcsd/settings.rb 2020-12-16 09:26:46.782426991 +0100
|
||||
--- a/pcs-0.10.7/pcsd/settings.rb
|
||||
+++ b/pcs-0.10.7/pcsd/settings.rb
|
||||
@@ -3,7 +3,7 @@
|
||||
PCSD_EXEC_LOCATION = '/usr/lib/pcsd/'
|
||||
PCSD_VAR_LOCATION = '/var/lib/pcsd/'
|
||||
@@ -251,9 +245,8 @@ diff -uPNr a/pcs-0.10.7/pcsd/settings.rb b/pcs-0.10.7/pcsd/settings.rb
|
||||
|
||||
CRT_FILE = PCSD_VAR_LOCATION + 'pcsd.crt'
|
||||
KEY_FILE = PCSD_VAR_LOCATION + 'pcsd.key'
|
||||
diff -uPNr a/pcs-0.10.7/pcsd/settings.rb.debian b/pcs-0.10.7/pcsd/settings.rb.debian
|
||||
--- a/pcs-0.10.7/pcsd/settings.rb.debian 2020-12-15 17:02:49.065879020 +0100
|
||||
+++ b/pcs-0.10.7/pcsd/settings.rb.debian 2020-12-16 18:52:24.289921676 +0100
|
||||
--- a/pcs-0.10.7/pcsd/settings.rb.debian
|
||||
+++ b/pcs-0.10.7/pcsd/settings.rb.debian
|
||||
@@ -3,7 +3,7 @@
|
||||
PCSD_EXEC_LOCATION = '/usr/share/pcsd/'
|
||||
PCSD_VAR_LOCATION = '/var/lib/pcsd/'
|
||||
@@ -263,9 +256,8 @@ diff -uPNr a/pcs-0.10.7/pcsd/settings.rb.debian b/pcs-0.10.7/pcsd/settings.rb.de
|
||||
|
||||
CRT_FILE = PCSD_VAR_LOCATION + 'pcsd.crt'
|
||||
KEY_FILE = PCSD_VAR_LOCATION + 'pcsd.key'
|
||||
diff -uPNr a/pcs-0.10.7/pcs_test/tier0/lib/test_external.py b/pcs-0.10.7/pcs_test/tier0/lib/test_external.py
|
||||
--- a/pcs-0.10.7/pcs_test/tier0/lib/test_external.py 2020-12-15 17:02:49.061879080 +0100
|
||||
+++ b/pcs-0.10.7/pcs_test/tier0/lib/test_external.py 2020-12-16 21:52:40.531155033 +0100
|
||||
--- a/pcs-0.10.7/pcs_test/tier0/lib/test_external.py
|
||||
+++ b/pcs-0.10.7/pcs_test/tier0/lib/test_external.py
|
||||
@@ -16,8 +16,8 @@
|
||||
import pcs.lib.external as lib
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
diff -uPNr a/pcs-0.10.8/pcs/lib/external.py b/pcs-0.10.8/pcs/lib/external.py
|
||||
--- a/pcs-0.10.8/pcs/lib/external.py 2020-12-15 17:02:49.055879169 +0100
|
||||
+++ b/pcs-0.10.8/pcs/lib/external.py 2020-12-15 21:13:41.878627331 +0100
|
||||
--- a/pcs-0.10.8/pcs/lib/external.py
|
||||
+++ b/pcs-0.10.8/pcs/lib/external.py
|
||||
@@ -13,8 +13,8 @@
|
||||
from pcs.lib.errors import LibraryError
|
||||
|
||||
@@ -82,9 +81,8 @@ diff -uPNr a/pcs-0.10.8/pcs/lib/external.py b/pcs-0.10.8/pcs/lib/external.py
|
||||
if return_code != 0:
|
||||
return []
|
||||
|
||||
diff -uPNr a/pcs-0.10.8/pcs/settings_default.py b/pcs-0.10.8/pcs/settings_default.py
|
||||
--- a/pcs-0.10.8/pcs/settings_default.py 2020-12-15 17:02:49.056879154 +0100
|
||||
+++ b/pcs-0.10.8/pcs/settings_default.py 2020-12-16 21:59:28.541361537 +0100
|
||||
--- a/pcs-0.10.8/pcs/settings_default.py
|
||||
+++ b/pcs-0.10.8/pcs/settings_default.py
|
||||
@@ -1,8 +1,8 @@
|
||||
import os.path
|
||||
|
||||
@@ -114,9 +112,8 @@ diff -uPNr a/pcs-0.10.8/pcs/settings_default.py b/pcs-0.10.8/pcs/settings_defaul
|
||||
# this limit is also mentioned in docs, change there as well
|
||||
sbd_max_device_num = 3
|
||||
# message types are also mentioned in docs, change there as well
|
||||
diff -uPNr a/pcs-0.10.8/pcs/settings.py.debian b/pcs-0.10.8/pcs/settings.py.debian
|
||||
--- a/pcs-0.10.8/pcs/settings.py.debian 2020-12-15 17:02:49.055879169 +0100
|
||||
+++ b/pcs-0.10.8/pcs/settings.py.debian 2020-12-16 09:36:10.493104892 +0100
|
||||
--- a/pcs-0.10.8/pcs/settings.py.debian
|
||||
+++ b/pcs-0.10.8/pcs/settings.py.debian
|
||||
@@ -1,10 +1,10 @@
|
||||
from pcs.settings_default import *
|
||||
-service_binary = "/usr/sbin/service"
|
||||
@@ -133,9 +130,8 @@ diff -uPNr a/pcs-0.10.8/pcs/settings.py.debian b/pcs-0.10.8/pcs/settings.py.debi
|
||||
pcsd_exec_location = "/usr/share/pcsd/"
|
||||
pcsd_gem_path = None
|
||||
pcsd_config = "/etc/default/pcsd"
|
||||
diff -uPNr a/pcs-0.10.8/pcs/utils.py b/pcs-0.10.8/pcs/utils.py
|
||||
--- a/pcs-0.10.8/pcs/utils.py 2020-12-15 17:02:49.056879154 +0100
|
||||
+++ b/pcs-0.10.8/pcs/utils.py 2020-12-16 21:57:09.487686936 +0100
|
||||
--- a/pcs-0.10.8/pcs/utils.py
|
||||
+++ b/pcs-0.10.8/pcs/utils.py
|
||||
@@ -2187,7 +2187,7 @@
|
||||
)
|
||||
else:
|
||||
@@ -154,9 +150,8 @@ diff -uPNr a/pcs-0.10.8/pcs/utils.py b/pcs-0.10.8/pcs/utils.py
|
||||
)
|
||||
return join_multilines([stderr, stdout]), retval
|
||||
|
||||
diff -uPNr a/pcs-0.10.8/pcsd/pcs.rb b/pcs-0.10.8/pcsd/pcs.rb
|
||||
--- a/pcs-0.10.8/pcsd/pcs.rb 2020-12-15 17:02:49.063879050 +0100
|
||||
+++ b/pcs-0.10.8/pcsd/pcs.rb 2020-12-16 21:54:52.337982100 +0100
|
||||
--- a/pcs-0.10.8/pcsd/pcs.rb
|
||||
+++ b/pcs-0.10.8/pcsd/pcs.rb
|
||||
@@ -1708,11 +1708,22 @@
|
||||
def is_service_enabled?(service)
|
||||
if ISSYSTEMCTL
|
||||
@@ -238,9 +233,8 @@ diff -uPNr a/pcs-0.10.8/pcsd/pcs.rb b/pcs-0.10.8/pcsd/pcs.rb
|
||||
end
|
||||
_, _, retcode = run_cmd(PCSAuth.getSuperuserAuth(), *cmd)
|
||||
return (retcode == 0)
|
||||
diff -uPNr a/pcs-0.10.8/pcsd/settings.rb b/pcs-0.10.8/pcsd/settings.rb
|
||||
--- a/pcs-0.10.8/pcsd/settings.rb 2020-12-15 17:02:49.065879020 +0100
|
||||
+++ b/pcs-0.10.8/pcsd/settings.rb 2020-12-16 09:26:46.782426991 +0100
|
||||
--- a/pcs-0.10.8/pcsd/settings.rb
|
||||
+++ b/pcs-0.10.8/pcsd/settings.rb
|
||||
@@ -3,7 +3,7 @@
|
||||
PCSD_EXEC_LOCATION = '/usr/lib/pcsd/'
|
||||
PCSD_VAR_LOCATION = '/var/lib/pcsd/'
|
||||
@@ -250,9 +244,8 @@ diff -uPNr a/pcs-0.10.8/pcsd/settings.rb b/pcs-0.10.8/pcsd/settings.rb
|
||||
|
||||
CRT_FILE = PCSD_VAR_LOCATION + 'pcsd.crt'
|
||||
KEY_FILE = PCSD_VAR_LOCATION + 'pcsd.key'
|
||||
diff -uPNr a/pcs-0.10.8/pcsd/settings.rb.debian b/pcs-0.10.8/pcsd/settings.rb.debian
|
||||
--- a/pcs-0.10.8/pcsd/settings.rb.debian 2020-12-15 17:02:49.065879020 +0100
|
||||
+++ b/pcs-0.10.8/pcsd/settings.rb.debian 2020-12-16 18:52:24.289921676 +0100
|
||||
--- a/pcs-0.10.8/pcsd/settings.rb.debian
|
||||
+++ b/pcs-0.10.8/pcsd/settings.rb.debian
|
||||
@@ -3,7 +3,7 @@
|
||||
PCSD_EXEC_LOCATION = '/usr/share/pcsd/'
|
||||
PCSD_VAR_LOCATION = '/var/lib/pcsd/'
|
||||
@@ -262,9 +255,8 @@ diff -uPNr a/pcs-0.10.8/pcsd/settings.rb.debian b/pcs-0.10.8/pcsd/settings.rb.de
|
||||
|
||||
CRT_FILE = PCSD_VAR_LOCATION + 'pcsd.crt'
|
||||
KEY_FILE = PCSD_VAR_LOCATION + 'pcsd.key'
|
||||
diff -uPNr a/pcs-0.10.8/pcs_test/tier0/lib/test_external.py b/pcs-0.10.8/pcs_test/tier0/lib/test_external.py
|
||||
--- a/pcs-0.10.8/pcs_test/tier0/lib/test_external.py 2020-12-15 17:02:49.061879080 +0100
|
||||
+++ b/pcs-0.10.8/pcs_test/tier0/lib/test_external.py 2020-12-16 21:52:40.531155033 +0100
|
||||
--- a/pcs-0.10.8/pcs_test/tier0/lib/test_external.py
|
||||
+++ b/pcs-0.10.8/pcs_test/tier0/lib/test_external.py
|
||||
@@ -16,8 +16,8 @@
|
||||
import pcs.lib.external as lib
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- a/pcs/settings_default.py 2018-11-23 12:57:53.000000000 +0000
|
||||
+++ b/pcs/settings_default.py 2019-05-11 20:07:19.080000000 +0000
|
||||
--- a/pcs/settings_default.py
|
||||
+++ b/pcs/settings_default.py
|
||||
@@ -81,7 +81,7 @@
|
||||
])
|
||||
# Set pcsd_gem_path to None if there are no bundled ruby gems and the path does
|
||||
|
||||
Reference in New Issue
Block a user