Package: insserv Version: 1.14.0-4 Severity: serious Tags: patch Justification: Breaks boot
See also: #677097 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677097 When we added mountall-bootclean to initscripts, I didn't realise at the time that the dependencies were insufficient, and $local_fs requires mountall-bootclean to be run, or it can be mis-ordered and delete /run. The attached patch fixes up insserv to add mountall-bootclean to $local_fs. I've included the change to both debian/patches and to insserv.conf so you can apply whatever you feel best. Flagged as serious since this does prevent systems from booting. I'm going to also make the change to sysvinit to add X-Start-Before: bootmish.sh to mountall_bootclean but it would be good to have it here as well to make it less easy to break your system. Thanks, Roger -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages insserv depends on: ii libc6 2.13-35 insserv recommends no packages. Versions of packages insserv suggests: pn bootchart2 <none> -- no debconf information
diff -urN insserv-1.14.0.original/debian/patches/11_debian_conf.patch insserv-1.14.0/debian/patches/11_debian_conf.patch --- insserv-1.14.0.original/debian/patches/11_debian_conf.patch 2012-11-15 20:28:53.639644555 +0000 +++ insserv-1.14.0/debian/patches/11_debian_conf.patch 2012-11-15 20:32:27.459921674 +0000 @@ -9,7 +9,7 @@ # All local filesystems are mounted (done during boot phase) # -$local_fs boot.localfs +boot.crypto -+$local_fs +mountall +mountoverflowtmp +umountfs ++$local_fs +mountall +mountall-bootclean +mountoverflowtmp +umountfs # # Low level networking (ethernet card) diff -urN insserv-1.14.0.original/insserv.conf insserv-1.14.0/insserv.conf --- insserv-1.14.0.original/insserv.conf 2012-11-15 20:28:53.639644555 +0000 +++ insserv-1.14.0/insserv.conf 2012-11-15 20:30:57.778120460 +0000 @@ -1,7 +1,7 @@ # # All local filesystems are mounted (done during boot phase) # -$local_fs +mountall +mountoverflowtmp +umountfs +$local_fs +mountall +mountall-bootclean +mountoverflowtmp +umountfs # # Low level networking (ethernet card)