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

Re: quelques énervements



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 <vincent@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)


Reply to: