summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS5
-rwxr-xr-xperl-install/standalone/draksec4
2 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d8193d3a6..ff281df0a 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
-- timezone: Assume chrony rather than ntp when neither is installed
-- draksec: support polkit rules editing for permissions overrides.
+- draksec: make sure to restart polkitd after writing rules
+- timezone: assume chrony rather than ntp when neither is installed
+- draksec: support polkit rules editing for permissions overrides
Version 15.73.1 - 19 November 2013
- add chrony support to drakclock mga#11092
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index f70bcd423..f78b5f63a 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -157,8 +157,10 @@ $contents
}return polkit.Result.NOT_HANDLED;};
EOF
} else {
- rm_rf($polkit_rules_file);
+ rm_rf($polkit_rules_file) if -f $polkit_rules_file;
}
+
+ system('systemctl', 'try-restart', 'polkit.service');
}
my %descr = (