[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Questions About Upgrading to dependency based boot



Mark Phillips wrote:
I am running Debian testing on my computer. I am in the process of doing an
apt-get update/apt-get dist-upgrade.

I got this error message :

info: Checking if it is safe to convert to dependency based boot.
error: Unable to migrate to dependency based boot sequencing.
error: Problems detected: package bittorrent left obsolete init.d script
behind, package dovecot-common removed but not purged, package modutils
removed but not purged, package postfix removed but not purged, insserv:
warning: script 'K90wparoamd' missing LSB tags and overrides,  insserv:
warning: script 'K01nxsensor' missing LSB tags and overrides,  insserv:
warning: script 'K01nxserver' missing LSB tags and overrides,  insserv:
warning: script 'S25libdevmapper1.02' missing LSB tags and overrides,
insserv: warning: script 'libdevmapper1.02' missing LSB tags and overrides,
insserv: warning: script 'wparoamd' missing LSB tags and overrides,
insserv: warning: script 'nxsensor' missing LSB tags and overrides,
insserv: warning: script 'nxserver' missing LSB tags and overrides,
grep: /var/lib/update-rc.d/*: No such file or directory

1. Can I resolve the first couple of problems with an apt-get purge
bittorrent dovecot-common......?

Probably. I needed to purge a couple of items.

2. What does the missing LSB tags and overrides mean? What should I do about
them?

Mostly, waiting will do it. You don't need to convert yet, so you might as well wait for the package maintainers to fix them. You may wish to raise bug reports if they don't already exist, but I suspect the work is already under way. Have a look in other init scripts you already have for examples.

While they're only warnings, and I don't think they will actually prevent the new system working, there may be unexpected results if those scripts are executed out of order, see below.


3. What is dependency based boot, and do I want it, need it? What do I do to
get it to work correctly?

http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

That's the way things are going. There may be a bit of a problem if you've stuck in some simple init scripts of your own in appropriate places, as without those headers, they will be reordered. Effectively, the rc.X scripts are rebuilt at every boot, on the basis of the contents of the headers. I had a very simple cifs unmounting script which became useless because of this, so I installed smb4k rather than learn how to make the correct LSB headers in a hurry. Fully LSB-compliant scripts are not trivial to make if you're not a systems programmer.

--
Joe


Reply to: