[Debian-ha-maintainers] Bug#876195: ocfs2-tools: dist-upgrade to Stretch doesn't update runlevels

Roman Serbski r.serbski.groups at gmail.com
Tue Sep 19 13:37:58 UTC 2017


Package: ocfs2-tools
Version: 1.8.4-4
Severity: normal

Dist-upgrading Jessie to Stretch doesn't update/rebuild o2cb and ocfs2
runlevels.

-- Jessie System Information:
Debian Release: 8.9
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.43-2+deb8u3
ocfs2-tools: 1.6.4-3

$ ls -al /etc/rc*.d/*o2cb
lrwxrwxrwx 1 root root 14 May 18 09:15 /etc/rc0.d/K04o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 May 18 09:15 /etc/rc6.d/K04o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 May 18 09:15 /etc/rcS.d/S13o2cb -> ../init.d/o2cb

$ ls -al /etc/rc*.d/*ocfs2
lrwxrwxrwx 1 root root 15 May 18 09:15 /etc/rc0.d/K03ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 May 18 09:15 /etc/rc6.d/K03ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 May 18 09:15 /etc/rcS.d/S14ocfs2 -> ../init.d/ocfs2

-- Stretch System Information:
Debian Release: 9.1
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.30-2+deb9u3
ocfs2-tools: 1.8.4-4

Perform dist-upgrade to Stretch and runlevels will remain the same
causing o2cb and ocfs2 services to not start during boot time.

update-rc.d -f o2cb remove
update-rc.d -f ocfs2 remove
update-rc.d o2cb defaults
update-rc.d ocfs2 defaults

fixes the issue, hence corrected runlevels look like the following:

$ ls -al /etc/rc*.d/*o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc0.d/K02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc1.d/K02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc2.d/S02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc3.d/S02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc4.d/S02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc5.d/S02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc6.d/K02o2cb -> ../init.d/o2cb

$ ls -al /etc/rc*.d/*ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc0.d/K01ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc1.d/K01ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc2.d/S05ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc3.d/S05ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc4.d/S05ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc5.d/S05ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc6.d/K01ocfs2 -> ../init.d/ocfs2

Thank you.



More information about the Debian-ha-maintainers mailing list