Package: sysv-rc
Version: 2.88dsf-13.1
Severity: critical
Justification: causes serious data loss


Blindly enabling insserv can result in unbootable systems or systems
which boot but don't start all services.  sysv-rc.postinst currently
states that enabling insserv is "recommended", with no mention of
the possible severe consequences.

This bug is critical rather than grave because the lost data - the
Snn and Knn values - cannot be recovered without restoring a backup.

(In fact it's slightly worse than that - if you merely restore /etc
insserv will eat it again.  You have to use undocumented magic to
prevent this.)

Patch attached.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]       1.5.36       Debian configuration management sy
ii  insserv                     1.14.0-2     Tool to organize boot sequence usi
ii  sysvinit-utils              2.88dsf-13.1 System-V-like utilities

Versions of packages sysv-rc recommends:
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip

Versions of packages sysv-rc suggests:
pn  bum                           <none>     (no description available)
pn  sysv-rc-conf                  <none>     (no description available)

-- debconf information:
  sysv-rc/unable-to-convert:
* sysv-rc/convert-legacy: true
diff -ruN sysvinit-2.88dsf/debian/sysv-rc.templates sysvinit-2.88dsf.NEW/debian/sysv-rc.templates
--- sysvinit-2.88dsf/debian/sysv-rc.templates	2011-01-15 14:30:43.000000000 -0800
+++ sysvinit-2.88dsf.NEW/debian/sysv-rc.templates	2011-01-15 14:38:16.000000000 -0800
@@ -12,13 +12,18 @@
 Default: true
 _Description: Migrate legacy boot sequencing to dependency-based sequencing?
  The boot system is prepared to migrate to dependency-based sequencing.
- This is an irreversible step, but one that is recommended: it allows
- the boot process to be optimized for speed and efficiency, and provides
- a more resilient framework for development.
+ This is an irreversible step - restoring your /etc will not undo it.  It
+ affords slightly faster booting and a different framework for sequencing
+ system start up which some people prefer.  However it may not correctly
+ boot a complex system without further effort on your part.
  .
  A full rationale is detailed in /usr/share/doc/sysv-rc/README.Debian.
  If you choose not to migrate now, you can do so later by running
  "dpkg-reconfigure sysv-rc".
+ .
+ If you do need to manually reverse this irreversible step first
+ "touch /etc/init.d/.legacy-bootordering" and then the files in
+ /var/lib/update-rc.d will help you to recover most of the way.
 
 Template: sysv-rc/unable-to-convert
 Type: note
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

Reply via email to