On 2014-01-05 17:35:59 +0100, Erwan David wrote:
> Le 05/01/2014 17:22, Francois Lafont a écrit :
> > Je peux me tromper bien sûr mais je suis presque sûr que ça l'est car :
> >
> > - le postinst est systématiquement appelé lors d'un upgrade du paquet
> > (avec des arguments derrières)
> > - dans le cas de rpcbind, le update-rc.d sera toujours appelé du moment
> > que /etc/init.d/rpcbind est exécutable.
> 
> 
> C'est appelé, mais si on a fait un update-rc.d disable, ça ne fait rien :
> 
>       If any files named /etc/rcrunlevel.d/[SK]??name already exist then
> update-rc.d does nothing.  The program was written this way so that it
> will never change an existing  con‐
>        figuration,  which  may  have been customized by the system
> administrator.  The program will only install links if none are present,
> i.e., if it appears that the service has
>        never been installed before.

Ce qui explique aussi qu'il ne faut pas supprimer les liens à la main,
mais utiliser update-rc.d pour désactiver un service.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/20140105172203.gc5...@ioooi.vinc17.net

Répondre à