[arch-commits] Commit in systemd/trunk (systemd.install)
Christian Hesse
eworm at archlinux.org
Mon Apr 26 14:45:15 UTC 2021
Date: Monday, April 26, 2021 @ 14:45:15
Author: eworm
Revision: 413901
remove ancient upgrade commands
Modified:
systemd/trunk/systemd.install
-----------------+
systemd.install | 50 --------------------------------------------------
1 file changed, 50 deletions(-)
Modified: systemd.install
===================================================================
--- systemd.install 2021-04-26 14:41:34 UTC (rev 413900)
+++ systemd.install 2021-04-26 14:45:15 UTC (rev 413901)
@@ -15,44 +15,6 @@
journalctl --update-catalog
}
-_216_2_changes() {
- echo ':: Coredumps are handled by systemd by default. Collection behavior can be'
- echo ' tuned in /etc/systemd/coredump.conf.'
-}
-
-_219_2_changes() {
- if mkdir -m2755 var/log/journal/remote 2>/dev/null; then
- chgrp systemd-journal-remote var/log/journal/remote
- fi
-}
-
-_219_4_changes() {
- if ! systemctl is-enabled -q remote-fs.target; then
- systemctl enable -q remote-fs.target
- fi
-}
-
-_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
-}
-
-_233_75_3_changes() {
- # upstream installs services to /etc, which we remove
- # to keep bus activation we re-enable systemd-resolved
- if systemctl is-enabled -q systemd-resolved.service; then
- systemctl reenable systemd-resolved.service 2>/dev/null
- fi
-}
-
_242_0_2_changes() {
if [[ -L var/lib/systemd/timesync ]]; then
rm var/lib/systemd/timesync
@@ -89,19 +51,7 @@
post_upgrade() {
post_common "$@"
- # don't reexec if the old version is 231-1 or 231-2.
- # https://github.com/systemd/systemd/commit/bd64d82c1c
- if [[ $1 != 231-[12] ]] && sd_booted; then
- systemctl --system daemon-reexec
- fi
-
local v upgrades=(
- 216-2
- 219-2
- 219-4
- 230-1
- 232-8
- 233.75-3
242.0-2
)
More information about the arch-commits
mailing list