Re: Can insserv made better?
Hi Jesús,
On Sat January 15 2011 13:21:33 Jesús M. Navarro wrote:
> So the main problem is "only" transitioning the system, isn't it? Why
> don't you have then a look at Squeeze's release notes (which any wise
> Debian system administrator will read upon upgrade) and make sure that it
> states the problem in the most clear way and/or propose the changes to that
> document that you percieve to be needed? That would be feasible in current
> freeze condition of the distribution and it would be a good effort/benefit
> ratio for your effort.
I have looked at the release notes, what little documentation there
is, and much but not all of the source code.
It would certainly help if a warning were included in the release
notes but the most critical fix is to the misleading statement in
sysv-rc.postinst that enabling insserv is "recommended" with no
warning about the potential adverse consequences.
I have attached a proposed patch.
--Mike Bird
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
Reply to: