diff --git a/0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch b/0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch new file mode 100644 index 0000000..b0643d7 --- /dev/null +++ b/0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch @@ -0,0 +1,26 @@ +From 4f8e3f0ef01a6a63deb51ff6adbd3ab0849d7903 Mon Sep 17 00:00:00 2001 +From: nicholasyang +Date: Fri, 3 Mar 2023 14:33:27 +0800 +Subject: [PATCH] Fix: manager: writer thread can only be started once + (bsc#1208817) + +--- + parallax/manager.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/parallax/manager.py b/parallax/manager.py +index eb4df20..58b2398 100644 +--- a/parallax/manager.py ++++ b/parallax/manager.py +@@ -98,8 +98,6 @@ class Manager(object): + writer = None + + try: +- if writer: +- writer.start() + if self.askpass: + pass_server = PasswordServer() + pass_server.start(self.iomap, self.limit, warn=self.warn_message) +-- +2.34.1 + diff --git a/python-parallax.changes b/python-parallax.changes index 550880d..690ff98 100644 --- a/python-parallax.changes +++ b/python-parallax.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 3 07:13:28 UTC 2023 - XinLiang + +- Fix: manager: writer thread can only be started once (bsc#1208817) + Add patch 0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch + ------------------------------------------------------------------- Mon Nov 7 02:18:35 UTC 2022 - XinLiang diff --git a/python-parallax.spec b/python-parallax.spec index 3933d95..80120e8 100644 --- a/python-parallax.spec +++ b/python-parallax.spec @@ -1,7 +1,7 @@ # # spec file for package python-parallax # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/krig/parallax/ Source: https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz +Patch1: 0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -49,6 +50,7 @@ multiple nodes using SCP. %prep %setup -q -n parallax-%{version} +%patch1 -p1 %build %python_build