summaryrefslogtreecommitdiff
path: root/pcr/systemd-knock/systemd.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-31 23:19:11 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-02-01 03:17:55 -0300
commit964fc9b75c69848c04ed2738df9a733205d5d23b (patch)
tree35cd680fddd2162bccdfdd8e7190a03aa4f029f3 /pcr/systemd-knock/systemd.install
parent2177ff89a456de6f013273944725be16a2cc2fea (diff)
downloadabslibre-964fc9b75c69848c04ed2738df9a733205d5d23b.tar.gz
abslibre-964fc9b75c69848c04ed2738df9a733205d5d23b.tar.bz2
abslibre-964fc9b75c69848c04ed2738df9a733205d5d23b.zip
systemd-knock-232-2: add hook for ConditionNeedsUpdate and update hwdb hook
Diffstat (limited to 'pcr/systemd-knock/systemd.install')
-rw-r--r--pcr/systemd-knock/systemd.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/pcr/systemd-knock/systemd.install b/pcr/systemd-knock/systemd.install
index b59de2008..f799c882d 100644
--- a/pcr/systemd-knock/systemd.install
+++ b/pcr/systemd-knock/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