Mise à jour Debian et insserv

Page principale

Répondre à ce message
Auteur: Patrice Karatchentzeff
Date:  
À: GUILDE
Sujet: Mise à jour Debian et insserv
Salut,

J'ai une migration vers Wheezy extrêmement douloureuse...

Les scripts d'init ont été mal migré et j'ai un mal de chien à
résoudre mes problèmes...

# apt-get -f install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
314 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Paramétrage de cron (3.0pl1-124) ...
insserv: warning: script 'K03xfs' missing LSB tags and overrides
insserv: warning: script 'K02dhcp' missing LSB tags and overrides
insserv: warning: script 'K02bind' missing LSB tags and overrides
insserv: warning: script 'K02spamassassin' missing LSB tags and overrides
insserv: warning: script 'K02junkbuster' missing LSB tags and overrides
insserv: warning: script 'K02dbus-1' missing LSB tags and overrides
insserv: warning: script 'K02xfs-xtt' missing LSB tags and overrides
insserv: warning: script 'K02firestarter' missing LSB tags and overrides
insserv: warning: script 'K02sensord' missing LSB tags and overrides
insserv: warning: script 'K02apache' missing LSB tags and overrides
insserv: warning: script 'K03lpd' missing LSB tags and overrides
insserv: warning: script 'K02xfstt' missing LSB tags and overrides
insserv: warning: script 'K02lprng' missing LSB tags and overrides
insserv: warning: script 'K02hotplug-net' missing LSB tags and overrides
insserv: warning: script 'K02wdm' missing LSB tags and overrides
insserv: warning: script 'K02aolserver.principal' missing LSB tags and overrides
insserv: warning: script 'K02smartsuite' missing LSB tags and overrides
insserv: warning: script 'S22ntpdate' missing LSB tags and overrides
insserv: warning: script 'S22libdevmapper1.01' missing LSB tags and overrides
insserv: warning: script 'S22hotplug' missing LSB tags and overrides
insserv: warning: script 'S22xfree86-common' missing LSB tags and overrides
insserv: warning: script 'S22console-screen.kbd.sh' missing LSB tags
and overrides
insserv: warning: script 'S22libdevmapper1.00' missing LSB tags and overrides
insserv: warning: script 'S22hwtools' missing LSB tags and overrides
insserv: warning: script 'S22initrd-tools.sh' missing LSB tags and overrides
insserv: warning: current stop runlevel(s) (0 1 6) of script `cron'
overrides LSB defaults (empty).
insserv: warning: script 'libdevmapper1.00' missing LSB tags and overrides
insserv: warning: script 'xfree86-common' missing LSB tags and overrides
insserv: warning: script 'xfs-xtt' missing LSB tags and overrides
insserv: warning: script 'initrd-tools.sh' missing LSB tags and overrides
insserv: warning: script 'hwtools' missing LSB tags and overrides
insserv: warning: script 'libdevmapper1.01' missing LSB tags and overrides
insserv: warning: script 'spamassassin' missing LSB tags and overrides
insserv: warning: script 'xfstt' missing LSB tags and overrides
insserv: warning: script 'firestarter' missing LSB tags and overrides
insserv: warning: script 'hotplug-net' missing LSB tags and overrides
insserv: warning: script 'dhcp' missing LSB tags and overrides
insserv: warning: script 'gnomehack.sh' missing LSB tags and overrides
insserv: warning: script 'hotplug' missing LSB tags and overrides
insserv: warning: script 'lprng' missing LSB tags and overrides
insserv: warning: script 'wdm' missing LSB tags and overrides
insserv: warning: script 'iptables' missing LSB tags and overrides
insserv: warning: script 'junkbuster' missing LSB tags and overrides
insserv: warning: script 'ntpdate' missing LSB tags and overrides
insserv: warning: script 'apache' missing LSB tags and overrides
insserv: warning: script 'xfs' missing LSB tags and overrides
insserv: warning: script 'aolserver.principal' missing LSB tags and overrides
insserv: warning: script 'modutils' missing LSB tags and overrides
insserv: warning: script 'sensord' missing LSB tags and overrides
insserv: warning: script 'lpd' missing LSB tags and overrides
insserv: warning: script 'smartsuite' missing LSB tags and overrides
insserv: warning: script 'bind' missing LSB tags and overrides
insserv: warning: script 'console-screen.kbd.sh' missing LSB tags and overrides
insserv: script postfix: service skeleton already provided!
insserv: warning: script 'dbus-1' missing LSB tags and overrides
insserv: script xdm: service skeleton already provided!
insserv: script kerneld: service skeleton already provided!
insserv: script isapnp: service skeleton already provided!
insserv: script plex86: service skeleton already provided!
insserv: script medusa: service skeleton already provided!
insserv: script devfsd: service skeleton already provided!
insserv: There is a loop between service munin-node and gnomehack.sh if stopped
insserv: loop involving service gnomehack.sh at depth 2
insserv: loop involving service munin-node at depth 1
insserv: Stopping gnomehack.sh depends on munin-node and therefore on
system facility `$all' which can not be true!
insserv: Stopping iptables depends on munin-node and therefore on
system facility `$all' which can not be true!
insserv: Stopping modutils depends on munin-node and therefore on
system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: erreur de traitement de cron (--configure) :
le sous-processus script post-installation installé a retourné une
erreur de sortie d'état 1

et ainsi de suite pour tous les scripts d'init qui merdoient (et il y
en un paquet...).

Si je fais :

# insserv /etc/init
insserv: warning: script 'K03xfs' missing LSB tags and overrides
insserv: warning: script 'K02dhcp' missing LSB tags and overrides
insserv: warning: script 'K02bind' missing LSB tags and overrides
insserv: warning: script 'K02spamassassin' missing LSB tags and overrides
insserv: warning: script 'K02junkbuster' missing LSB tags and overrides
insserv: warning: script 'K02dbus-1' missing LSB tags and overrides
insserv: warning: script 'K02xfs-xtt' missing LSB tags and overrides
insserv: warning: script 'K02sensord' missing LSB tags and overrides
insserv: warning: script 'K02apache' missing LSB tags and overrides
insserv: warning: script 'K03lpd' missing LSB tags and overrides
insserv: warning: script 'K02xfstt' missing LSB tags and overrides
insserv: warning: script 'K02lprng' missing LSB tags and overrides
insserv: warning: script 'K02hotplug-net' missing LSB tags and overrides
insserv: warning: script 'K02wdm' missing LSB tags and overrides
insserv: warning: script 'K02aolserver.principal' missing LSB tags and overrides
insserv: warning: script 'K02smartsuite' missing LSB tags and overrides
insserv: warning: script 'S22ntpdate' missing LSB tags and overrides
insserv: warning: script 'S22libdevmapper1.01' missing LSB tags and overrides
insserv: warning: script 'S22hotplug' missing LSB tags and overrides
insserv: warning: script 'S22xfree86-common' missing LSB tags and overrides
insserv: warning: script 'S22console-screen.kbd.sh' missing LSB tags
and overrides
insserv: warning: script 'S22libdevmapper1.00' missing LSB tags and overrides
insserv: warning: script 'S22hwtools' missing LSB tags and overrides
insserv: warning: script 'S22initrd-tools.sh' missing LSB tags and overrides
insserv: warning: script 'libdevmapper1.00' missing LSB tags and overrides
insserv: warning: script 'xfree86-common' missing LSB tags and overrides
insserv: warning: script 'xfs-xtt' missing LSB tags and overrides
insserv: warning: script 'initrd-tools.sh' missing LSB tags and overrides
insserv: warning: script 'hwtools' missing LSB tags and overrides
insserv: warning: script 'libdevmapper1.01' missing LSB tags and overrides
insserv: warning: script 'spamassassin' missing LSB tags and overrides
insserv: warning: script 'xfstt' missing LSB tags and overrides
insserv: warning: script 'firestarter' missing LSB tags and overrides
insserv: warning: script 'hotplug-net' missing LSB tags and overrides
insserv: warning: script 'dhcp' missing LSB tags and overrides
insserv: warning: script 'gnomehack.sh' missing LSB tags and overrides
insserv: warning: script 'hotplug' missing LSB tags and overrides
insserv: warning: script 'lprng' missing LSB tags and overrides
insserv: warning: script 'wdm' missing LSB tags and overrides
insserv: warning: script 'iptables' missing LSB tags and overrides
insserv: warning: script 'junkbuster' missing LSB tags and overrides
insserv: warning: script 'ntpdate' missing LSB tags and overrides
insserv: warning: script 'apache' missing LSB tags and overrides
insserv: warning: script 'xfs' missing LSB tags and overrides
insserv: warning: script 'aolserver.principal' missing LSB tags and overrides
insserv: warning: script 'modutils' missing LSB tags and overrides
insserv: warning: script 'sensord' missing LSB tags and overrides
insserv: warning: script 'lpd' missing LSB tags and overrides
insserv: warning: script 'smartsuite' missing LSB tags and overrides
insserv: warning: script 'bind' missing LSB tags and overrides
insserv: warning: script 'console-screen.kbd.sh' missing LSB tags and overrides
insserv: script postfix: service skeleton already provided!
insserv: warning: script 'dbus-1' missing LSB tags and overrides
insserv: script xdm: service skeleton already provided!
insserv: script kerneld: service skeleton already provided!
insserv: script isapnp: service skeleton already provided!
insserv: script plex86: service skeleton already provided!
insserv: script medusa: service skeleton already provided!
insserv: script devfsd: service skeleton already provided!
insserv: There is a loop between service munin-node and gnomehack.sh if stopped
insserv: loop involving service gnomehack.sh at depth 2
insserv: loop involving service munin-node at depth 1
insserv: Stopping gnomehack.sh depends on munin-node and therefore on
system facility `$all' which can not be true!
insserv: Stopping iptables depends on munin-node and therefore on
system facility `$all' which can not be true!
insserv: Stopping modutils depends on munin-node and therefore on
system facility `$all' which can not be true!
insserv: exiting now without changing boot order!

ce qui correspond bien au message d'erreur pour la MAJ.

Par contre, ces lignes

insserv: script xdm: service skeleton already provided!
insserv: script kerneld: service skeleton already provided!
insserv: script isapnp: service skeleton already provided!
insserv: script plex86: service skeleton already provided!
insserv: script medusa: service skeleton already provided!
insserv: script devfsd: service skeleton already provided!

sont apparus suite à une correction manuelle de ma part en ajoutant
dans les fichier d'init

### BEGIN INIT INFO
# Provides: skeleton
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $portmap
# Should-Stop: $portmap
# X-Start-Before: nis
# X-Stop-After: nis
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# X-Interactive: true
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
placed in /etc/init.d.
#
### END INIT INFO

pour forcer la migration vers insserv qui ne s'était pas fait
automagiquement comme cela aurait dû...

Le remède semble pire qu'autre chose...

Une idée pour me débloquer ?

Merci d'avance,

PK

--
      |\      _,,,---,,_       Patrice KARATCHENTZEFF
ZZZzz /,`.-'`'    -.  ;-;;,_   mailto:p.karatchentzeff@free.fr
     |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
    '---''(_/--'  `-'\_)