Package: insserv
Followup-For: Bug #474515

Today I switched from "console-tools" to "kbd" to test something, which
failed because both /etc/init.d/console-screen.{kbd.,}sh provide
"console-screen":

        Richte kbd ein (1.14.1-4) ...
        insserv: script console-screen.kbd.sh: service console-screen already 
provided!
        insserv: exiting now!
        dpkg: Fehler beim Bearbeiten von kbd (--configure):
         Unterprozess post-installation script gab den Fehlerwert 1 zurück
        Fehler traten auf beim Bearbeiten von:
         kbd
        E: Sub-process /usr/bin/dpkg returned an error code (1)

This is because I only removed "console-tools", but didn't purge it,
because I don't know yet, if "kbd" solves my problem I currently have with
"console-tools".

So it's more complicated for insserv, because there may exists old
"init.d" scripts from removed packages, which aren't actually used
because their "test -x $DAEMON" test just disables them during run-time.

Probably insserv should only warn about multiple packages providing the
same service, and only start services depending on "any X" after "all X"
have been started.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (989, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages insserv depends on:
ii  debconf [debconf-2.0]        1.5.23      Debian configuration management sy
ii  libc6                        2.7-13      GNU C Library: Shared libraries
ii  sysv-rc                      2.86.ds1-60 System-V-like runlevel change mech

insserv recommends no packages.

Versions of packages insserv suggests:
pn  bootchart                     <none>     (no description available)

-- debconf information:
* insserv/enable: true



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to