Bug#877593: stretch-pu: package ocfs2-tools/1.8.4-4+deb9u1
Control: tags -1 + pending On Sat, 2018-02-10 at 11:44 +0100, Valentin Vidic wrote: > On Sat, Feb 10, 2018 at 09:39:09AM +0100, Julien Cristau wrote: > > OK, please go ahead. > > Thanks, uploaded. Flagged for acceptance. Regards, Adam
Bug#877593: stretch-pu: package ocfs2-tools/1.8.4-4+deb9u1
On Sat, Feb 10, 2018 at 09:39:09AM +0100, Julien Cristau wrote: > OK, please go ahead. Thanks, uploaded. -- Valentin
Bug#877593: stretch-pu: package ocfs2-tools/1.8.4-4+deb9u1
Control: tag -1 confirmed On Tue, Oct 3, 2017 at 10:44:18 +0200, Valentin Vidic wrote: > 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. > OK, please go ahead. Cheers, Julien
Bug#877593: stretch-pu: package ocfs2-tools/1.8.4-4+deb9u1
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 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#