summaryrefslogtreecommitdiff
path: root/libre/systemd/systemd.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-31 22:56:46 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-02-01 03:17:55 -0300
commit2177ff89a456de6f013273944725be16a2cc2fea (patch)
tree16796c248678570b6598ad4821a9e76f1532e451 /libre/systemd/systemd.install
parentb885ea36b549af7c1cd8b4aefce4d52f5e03c1ad (diff)
downloadabslibre-2177ff89a456de6f013273944725be16a2cc2fea.tar.gz
abslibre-2177ff89a456de6f013273944725be16a2cc2fea.tar.bz2
abslibre-2177ff89a456de6f013273944725be16a2cc2fea.zip
systemd-232-8.parabola1: add hook for ConditionNeedsUpdate and update hwdb hook
Diffstat (limited to 'libre/systemd/systemd.install')
-rw-r--r--libre/systemd/systemd.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/libre/systemd/systemd.install b/libre/systemd/systemd.install
index b59de2008..f799c882d 100644
--- a/libre/systemd/systemd.install
+++ b/libre/systemd/systemd.install
@@ -36,6 +36,15 @@ _230_1_changes() {
echo ':: systemd-bootchart is no longer included with systemd'
}
+_232_8_changes() {
+ # paper over possible effects of CVE-2016-10156
+ local stamps=(/var/lib/systemd/timers/*.timer)
+
+ if [[ -f ${stamps[0]} ]]; then
+ chmod 0644 "${stamps[@]}"
+ fi
+}
+
post_install() {
systemd-machine-id-setup
@@ -68,6 +77,7 @@ post_upgrade() {
219-2
219-4
230-1
+ 232-8
)
for v in "${upgrades[@]}"; do