diff --git a/debian/changelog b/debian/changelog index d55870fe4..4e84104f9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ systemd (35-1) UNRELEASED; urgency=low * Add Build-Depends on intltool. * Do a one-time migration of the hwclock configuration. If UTC is set to "no" in /etc/default/rcS, create /etc/adjtime and add the "LOCAL" setting. + * Remove /cgroup cleanup code from postinst. -- Tollef Fog Heen Wed, 14 Sep 2011 08:25:17 +0200 diff --git a/debian/systemd.postinst b/debian/systemd.postinst index db76a6bc1..6a4c5e999 100644 --- a/debian/systemd.postinst +++ b/debian/systemd.postinst @@ -4,18 +4,6 @@ set -e if [ -n "$2" ]; then systemctl daemon-reexec || true - - if dpkg --compare-versions "$2" lt "11-2"; then - if [ -e /proc/mounts ]; then - mounts=$(awk '/ \/cgroup/ {print $2}' < /proc/mounts | sort -r) - for m in $mounts; do - umount "$m" || true; - done - fi - if [ -d /cgroup ]; then - rmdir --ignore-fail-on-non-empty /cgroup - fi - fi fi # Do a one-time migration of the local time setting