-
Improvement
-
Resolution: Fixed
-
Normal
-
None
-
None
Hi,
currently, Funtoo's Networking doesn't handle any kind of errors. This is very bad. Imagine the following scenario:
- You created
/etc/init.d/netif.eth0
and
/etc/conf.d/netif.eth0
using the interface template for a static ip configuration for example
- You add
rc_need="netif.eth0"
to
/etc/conf.d/anyService
No you make sure, that your network doesn't work
When you now start /etc/init.d/netif.eth0 (e.g. while booting) you will see something like
* Network interface eth0 up ... RTNETLINK answers: No such file or directory Command failure: ip link set eth0 up RTNETLINK answers: No such process [ ok ]
That's totally wrong! It is not "ok".
And
/etc/init.d/netif.eth0 status
will also return
* status: started
which is - obviously - also wrong.
Side effect: Services depending on netif.eth0 will now also be launched and might end up in an unexpected error condition.