[Pkg-sysvinit-devel] Bug#676520: [sysv-rc] System unsuitable for dep-based boot cannot configure

David Baron d_baron at 012.net.il
Thu Jun 7 19:21:23 UTC 2012


On Thursday 07 June 2012 21:07:39 Roger Leigh wrote:
> On Thu, Jun 07, 2012 at 05:34:33PM +0300, David Baron wrote:
> > I have an older init scripted system which will not configure for
> > dep-based boot due to man missing lsb tags and overrides (what can I do
> > about this?).
> >
> >From NEWS.Debian:
> +sysv-rc (2.88dsf-23) experimental; urgency=low
> +
> +  Dependency based boot ordering is now required.
> +
> +  Most systems will already be using dependency based boot ordering.
> +  This includes all squeeze and later releases, unless you have taken
> +  deliberate action to disable it.  Installations upgraded from etch,
> +  lenny or earlier releases will have enabled dependency based booting
> +  when upgrading to squeeze and later releases.  However, it was
> +  previously possible to opt out of migrating to dependency based
> +  booting and retain static boot ordering.  This is no longer the case.
> +
> +  If your system is still using static boot ordering, migrating to
> +  dependency based boot ordering will be performed when sysv-rc is
> +  configured.  If this is not possible for any reason, you will have to
> +  correct the problem before upgrading can continue.  It will not be
> +  possible to complete the upgrade until insserv is configured.
> +
> +  The most commonly encountered problem preventing migration is the
> +  presence of obsolete init scripts from removed (but unpurged)
> +  packages.  If this is the case, you will be prompted with
> +  instructions detailing how to purge these old packages.
> +
> +  If you have custom init scripts, please ensure that these have the
> +  correct dependency information in an LSB header so that they will be
> +  run at the correct point in the boot sequence.
> +
> + -- Roger Leigh <rleigh at debian.org>  Wed, 18 Apr 2012 23:30:37 +0100
> 
> > Additonally, as per bug #676463, there are numerous complaints about init
> > scripts for removed applications and some that are not removed!
> 
> These are, as said above, obsolete init scripts from removed (but
> not purged) conffiles.  They lack LSB headers, and the packages
> need purging to remove them.
> 
> > In the past, sysv-rc would configure for the old boot correctly and
> > upgrades went merrily on their way. Now, it gives an error return.
> > 
> > Sysv-rc is left unconfigured and NO other apt operations are possible!
> 
> This is intentional.  Previously, you had the option to either enable
> dynamic dependency-based ordering, or stick with static legacy
> ordering.  We now require dependency-based ordering, and static is
> no longer supported.  So we can't continue until you've fixed the
> system by removing the broken scripts.  We haven't really changed the
> logic of the scripts here--we've just removed the choice of retaining
> the legacy ordering.
> 
> For the next upload, I need to see if we can just enable it
> unconditionally, irrespective of whether the broken scripts are
> present or not.  If you can possibly mail me a copy of all the
> broken scripts it identified, I'll test that possibility.  It will
> make the transition much smoother.
> 
> Note that this only affects upgrades from older releases which lacked
> LSB init scripts.  The reason for doing this is because the static
> ordering is bitrotting, and is no longer being actively tested since
> we are all now using dynamic ordering.  Rather than have systems start
> to break as the ordering becomes progressively wrong, this will ensure
> all systems will use a single correct ordering.

Maybe this is desirable, but breaking (irretrievably!) older systems is not so 
nice. There are many many lsb-less init.d scripts on my box.

I got rid of all the packages that need purging. I removed (not making much 
use of) all the fuse stuff which IS erroneously listed in this group--actual 
packages were uninstalled, not simply purging obselete init scripts!

Short of making a deboostrap chroot and moving all the scripts from there (if 
this would even do the job), what can I do?

I note that there are alternatives around to this sysv-rc system, i.e. file-rc 
(a flat, one level, no sym-link) and I recall seeing another alternative as 
well. Are these supported, deprecated, should be removed from the repo?

I enclose the list, edited from the console output by inserting new lines are 
required.

There are several item there that can be hand deleted. Knoppix stuff no longer 
used, kde3.5 no longer used, etc.

My x_oddsandends should be in local.rc (which I did know about when I wrote 
it).

The others seem to be normal inits from the packages. How would they get the 
need lsb info to correct the problem. I believe there are many more but that 
one big line ran out of space.

BTW, attempts to downgrade to testing package simply reinstall the Sid 
package.

The recommendation:
  dpkg --purge initscripts initscripts initscripts nut-server sysvinit

(The fuse items have been uninstalled.)

would be removing packages, not purging init.d files!





-------------- next part --------------
error: Unable to migrate to dependency based boot sequencing.

error: Problems detected: package initscripts left obsolete init.d script behind,
 package initscripts left obsolete init.d script behind,
 package initscripts left obsolete init.d script behind,
 package nut-server left obsolete init.d script behind,
 package sysvinit left obsolete init.d script behind,
 insserv: warning: script 'K01kerneld' missing LSB tags and overrides,
  insserv: warning: script 'K01das_watchdog' missing LSB tags and overrides,
  insserv: warning: script 'S03z_OddsandEnds' missing LSB tags and overrides,
  insserv: warning: script 'S03Jackd' missing LSB tags and overrides,
  insserv: warning: script 'S03iptables' missing LSB tags and overrides,
  insserv: warning: script 'S23raid2' missing LSB tags and overrides,
  insserv: warning: script 'hotplug-net-save' missing LSB tags and overrides,
  insserv: warning: script 'knoppix-halt' missing LSB tags and overrides,
  insserv: script mygpm: service gpm already provided!,
  insserv: warning: script 'apache.1' missing LSB tags and overrides,
  insserv: warning: script 'iptables' missing LSB tags and overrides,
  insserv: warning: script 'xfree86-common' missing LSB tags and overrides,
  insserv: script kdm-kde3.5: service kdm already provided!,
  insserv: script kdm-kde4: service x-display-manager already provided!,
  insserv: script kdm-kde4: service kdm already provided!,
  insserv: script postgresql-version: service postgresql already provided!,
  insserv: script postgresql-version: service postgresql-8.1 already provided!,
  insserv: warning: script 'z_OddsandEnds' missing LSB tags and overrides,
  insserv: warning: script 'Jackd' missing LSB tags and overrides,
  insserv: warning: script 'irda' missing LSB tags and overrides,
  insserv: warning: script 'raid2' missing LSB tags and overrides,
  insserv: warning: script 'ivmd' missing LSB tags and overrides,
  insserv: warning: script 'das_watchdog' missing LSB tags and overrides,
  insserv: warning: script 'wlan' missing LSB tags and overrides,
  insserv: warning: script 'kerneld' missing LSB tags and overrides,



More information about the Pkg-sysvinit-devel mailing list