[gull] routes permanentes dans fichier Interfaces

Erik Rossen rossen at linux-gull.ch
Thu Feb 18 13:51:39 CET 2010


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):
> beat at 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".

-- 
Erik Rossen                               OpenPGP key: 2935D0B9
rossen at rossen.ch                          On fonce la tête dans
http://www.rtfm-sarl.ch                   le guidon et on RTFM.


More information about the gull mailing list