Package: release.debian.org Severity: normal Tags: stretch User: release.debian....@packages.debian.org Usertags: pu
Hi, Attached diff fixes an upgrade issue reported in #876195: ocfs2 services are not started on boot after upgrade because the service links are were not automatically migrated from /etc/rcS.d to /etc/rc2.d. Please approve upload to stretch-pu. Thanks, Valentin
diff --git a/debian/changelog b/debian/changelog index 9e4381ce..04afd0ab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ocfs2-tools (1.8.4-4+deb9u1) stretch; urgency=medium + + * Migrate from using rcS to standard runlevels (Closes: #876195) + + -- Valentin Vidic <valentin.vi...@carnet.hr> Mon, 02 Oct 2017 22:28:27 +0200 + ocfs2-tools (1.8.4-4) unstable; urgency=medium * Add fix for sysfs filename (Closes: #858623) diff --git a/debian/ocfs2-tools.postinst b/debian/ocfs2-tools.postinst index 4c151b69..e9a2027a 100644 --- a/debian/ocfs2-tools.postinst +++ b/debian/ocfs2-tools.postinst @@ -48,4 +48,10 @@ EOF fi +# Migrate from using rcS to standard runlevels +if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1.8.4-4+deb9u1"; then + [ -L /etc/rcS.d/S??ocfs2 ] && update-rc.d -f ocfs2 remove >/dev/null + [ -L /etc/rcS.d/S??o2cb ] && update-rc.d -f o2cb remove >/dev/null +fi + #DEBHELPER#