Blame SOURCES/scap-security-guide-0.1.45-fix_dconf_remediation.patch

0d5c10
From 8ea989799f6d69c4a80ca8e4bf0d08177e916571 Mon Sep 17 00:00:00 2001
0d5c10
From: =?UTF-8?q?Mat=C4=9Bj=20T=C3=BD=C4=8D?= <matyc@redhat.com>
0d5c10
Date: Wed, 12 Jun 2019 15:48:39 +0200
0d5c10
Subject: [PATCH] Call dconf update in all dconf-related shared remediation
0d5c10
 functions.
0d5c10
0d5c10
---
0d5c10
 shared/bash_remediation_functions/include_dconf_settings.sh | 2 ++
0d5c10
 1 file changed, 2 insertions(+)
0d5c10
0d5c10
diff --git a/shared/bash_remediation_functions/include_dconf_settings.sh b/shared/bash_remediation_functions/include_dconf_settings.sh
0d5c10
index 02f9877e97..9cfce467f8 100644
0d5c10
--- a/shared/bash_remediation_functions/include_dconf_settings.sh
0d5c10
+++ b/shared/bash_remediation_functions/include_dconf_settings.sh
0d5c10
@@ -70,5 +70,7 @@ function dconf_lock {
0d5c10
 	then
0d5c10
 		echo "/${_key}/${_setting}" >> "/etc/dconf/db/${_db}/locks/${_lockFile}"
0d5c10
 	fi
0d5c10
+
0d5c10
+	dconf update
0d5c10
 }
0d5c10