From bf1ba0a8abe3ac30f8b576466ce09645d23e1e8d Mon Sep 17 00:00:00 2001 From: noahl Date: Thu, 4 Jan 2018 14:23:07 -0500 Subject: [PATCH 1/2] Remove extra line in inspect_callback.py (#367) Typo fix. --- quipucords/scanner/network/inspect_callback.py | 1 - 1 file changed, 1 deletion(-) diff --git a/quipucords/scanner/network/inspect_callback.py b/quipucords/scanner/network/inspect_callback.py index f765e1ca5..7e7dbdbf2 100644 --- a/quipucords/scanner/network/inspect_callback.py +++ b/quipucords/scanner/network/inspect_callback.py @@ -94,7 +94,6 @@ def _finalize_host(self, host): # Update scan counts if self.scan_task is not None: - self.scan_task.systems_scanned += 1 self.scan_task.save() From c712c11b9bba35ee9128cfc880c2632363b9269a Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 4 Jan 2018 18:31:14 -0500 Subject: [PATCH 2/2] Update readme with fork crash workaround for macOS 10.13+ (#368) --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 79cf74ab2..8f69f7da4 100644 --- a/README.rst +++ b/README.rst @@ -163,8 +163,12 @@ In order to run the server execute the following command:: make serve If you intend to run on Mac OS there are several more steps required. + - You need to increase the maxfile limit as described `here `_. - Install sshpass as described `here `_. +- If you are running macOS 10.13 or greater and you encounter unexpected crashes when running scans, + set the environment variable ``OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES`` before starting the server. + See explanation `here `_. Piping data to Elasticsearch