En fait, j'ai toujours eu le lien sur *networking* dans */etc/rcS.d*, mais malgré cela *networking* n'est pas activé, ou alors un autre script enlève les routes après le passage de *networking*. Je n'ai rien trouvé d'intéressant dans les logs. Avec quel critère faudrait-il chercher ?
Cordialement
Beat

Erik Rossen a écrit :
On Thu, Feb 18, 2010 at 01:22:04PM +0100, Beat Michel wrote:
C'est bien avec update-rc.d que j'ai commencé, mais il dit que des liens existent déjà (dans rcS):
b...@ubu-beat:/etc/rc5.d$ sudo update-rc.d -f networking start 35 5 .
System startup links for /etc/init.d/networking already exist.
Et c'est où que je trouve le fichier *dmesg/syslog/messages*
Cordialement
Beat

Je viens de regarder un Ubuntu Hardy et je trouve ceci:

        ls -la /etc/rc?.d/*networking
        lrwxrwxrwx 1 root root 20 2008-02-29 17:13 /etc/rcS.d/S40networking -> 
../init.d/networking

Donc, seulement un lien de Start dans le runlevel S, et non pas dans le
runlevel 5.  Ceci est correct, si on contrôle les scripts de packaging:

        grep update-rc.d /var/lib/dpkg/info/* | grep networking
        /var/lib/dpkg/info/netbase.postinst:    update-rc.d -f networking remove > 
/dev/null 2>&1
        /var/lib/dpkg/info/netbase.postinst:  update-rc.d networking start 40 S . 
> /dev/null
        /var/lib/dpkg/info/netbase.postrm:    update-rc.d networking remove > 
/dev/null

Donc, je propose que tu fais:

        sudo -i
        update-rc.d -f networking remove
        update-rc.d networking start 40 S .

ou, éventuellement,

        sudo -i
        update-rc.d -f networking remove
        update-rc.d networking start 35 S .

selon le résultat de "grep update-rc.d /var/lib/dpkg/info/* | grep networking".

_______________________________________________
gull mailing list
[email protected]
http://forum.linux-gull.ch/mailman/listinfo/gull

Répondre à