Re: Strange /etc/rc.d/netif behaviour




John-Mark Gurney a écrit :

Martin Turgeon wrote this message on Wed, Feb 21, 2007 at 11:55 -0500:


I'm not sure if this is really a bug but it doesn't look all fine to me.
When I do a /etc/rc.d/netif restart it does restart the network
interfaces but doesn't replace the default route that it just erased
even if it is specified in rc.conf correctly. I found that I should also
restart routed but it looks strange to me. I know that the /etc/netstart
script did it all but it's written in it that it's obsolete so I don't
want to use it.

So, is this normal and if so what is the best way to restart both a the
same time.


Why don't you restart /etc/rc.d/routing too? That will repopulate the
default route(s) for you..



That is exactly what I did but I would like to know if it is the
expected behaviour and what is the best way to automate this.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [patch 12/36] futex: fix for futex_wait signal stack corruption
    ... patch ce6bd420f43b28038a2c6e8fbb86ad24014727b6 in mainline. ... David Holmes found a bug in the -rt tree with respect to ... struct restart_block *restart; ... use the restart with specific parameters. ...
    (Linux-Kernel)
  • [patch 29/60] futex: fix for futex_wait signal stack corruption
    ... patch ce6bd420f43b28038a2c6e8fbb86ad24014727b6 in mainline. ... David Holmes found a bug in the -rt tree with respect to ... struct restart_block *restart; ... use the restart with specific parameters. ...
    (Linux-Kernel)
  • [PATCH -v2] fix for futex_wait signal stack corruption
    ... David Holmes found a bug in the RT patch with respect to ... After trying his test program on the latest git ... struct restart_block *restart; ... use the restart with specific parameters. ...
    (Linux-Kernel)
  • Number Lists going wacky
    ... restarts to be stripped from numbered lists when content ... This has been a bug for quite a while with Word (I was ... >There are solutions to make numbering work reliably, ... >have tried restart ...
    (microsoft.public.word.docmanagement)
  • Re: System Restarts Sporadically
    ... The "bug" may be a bit of failing hardware. ... Is there any error message? ... > No specific time or event...System will just restart itself. ... If it does detect a virus, it automatically puts it in quarantine. ...
    (microsoft.public.windowsxp.help_and_support)