From 72f44b5596027a42fc6038b5f8dcd9e6c3854f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Thu, 8 Apr 2021 08:31:19 +0100 Subject: [PATCH] ipa-client-install: remove fsync in do_nsupdate() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No need to flush buffers on the nsupdate file as it will get removed at the end of the function. Related: https://pagure.io/freeipa/issue/8402 Signed-off-by: François Cami Reviewed-By: Florence Blanc-Renaud Reviewed-By: Rob Crittenden --- ipaclient/install/client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ipaclient/install/client.py b/ipaclient/install/client.py index 03b443c2b..97b92b76e 100644 --- a/ipaclient/install/client.py +++ b/ipaclient/install/client.py @@ -1363,7 +1363,6 @@ def do_nsupdate(update_txt): with open(UPDATE_FILE, "w") as f: f.write(update_txt) - ipautil.flush_sync(f) result = False try: