From 72f44b5596027a42fc6038b5f8dcd9e6c3854f73 Mon Sep 17 00:00:00 2001 From: François Cami Date: Jun 28 2021 08:41:07 +0000 Subject: ipa-client-install: remove fsync in do_nsupdate() 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 --- diff --git a/ipaclient/install/client.py b/ipaclient/install/client.py index 03b443c..97b92b7 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: