[ Tollef Fog Heen ]
* Cherry-pick d384c7 from upstream to stop journald from leaking
memory. Thanks to Andreas Henriksson for testing. Closes: #677701
+ * Ship lsb init script override/integration in /lib/lsb/init-functions.d
+ rather than diverting /lib/lsb/init-functions itself. Add appropriate
+ Breaks to ensure upgrades happen.
-- Tollef Fog Heen <tfheen@debian.org> Fri, 29 Jun 2012 22:34:16 +0200
Suggests: systemd-gui, python, python-dbus, python-cairo
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, util-linux (>= 2.19.1-2), initscripts (>= 2.88dsf-17), udev
-Breaks: lvm2 (<< 2.02.84-1)
+Breaks: lvm2 (<< 2.02.84-1), lsb-base (<< 4.1+Debian4)
Conflicts: klogd
Description: system and service manager
systemd is a replacement for sysvinit. It is dependency-based and
usr/lib/systemd
usr/lib/*/systemd
usr/lib/tmpfiles.d
-debian/init-functions lib/lsb
+debian/init-functions.d/40-systemd /lib/lsb/init-functions.d
debian/debian-fixup lib/systemd/
debian/debian-fixup.service lib/systemd/system
debian/tmpfiles.d/debian.conf usr/lib/tmpfiles.d
fi
fi
+if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "44-3"; then
+ rm -f /lib/lsb/init-functions
+ dpkg-divert --remove --package systemd --rename \
+ --divert /lib/lsb/init-functions.systemd /lib/lsb/init-functions
+fi
+
systemd-machine-id-setup
#DEBHELPER#
+++ /dev/null
-#! /bin/sh
-
-set -e
-
-if [ "$1" = remove ] || [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 25-1; then
- dpkg-divert --remove --package systemd --rename \
- --divert /lib/lsb/init-functions.systemd /lib/lsb/init-functions
-fi
-
-#DEBHELPER#
-
-exit 0
+++ /dev/null
-#! /bin/sh
-
-set -e
-
-if [ "$1" = install ] || [ "$1" = upgrade ]; then
- dpkg-divert --add --package systemd --rename \
- --divert /lib/lsb/init-functions.systemd /lib/lsb/init-functions
-fi
-
-#DEBHELPER#
-
-exit 0