From e82f2538326af62802a587dbd66ff1a06514af60 Mon Sep 17 00:00:00 2001 From: François Cami Date: Jun 29 2021 07:01:01 +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: