RedHat boot-up script problem with recent kernels

rasmus@madhaus.utcs.utoronto.ca
Thu, 23 May 1996 20:48:13 -0400 (EDT)


I am running 1.99.7 (a RedHat 3.0 box) and got the following odd error
message when booting:

SIOCADDRT: Invalid argument

I tracked it down to the fact that the /etc/sysconfig/network-scripts/ifup-lo
script tries to do a:

route add -net 127.0.0.1

127.0.0.1 is obviously not a network, yet somehow this has been working for
months. Something must have changed in the recent code to make the kernel
more sensitive to this. Changing the ifup-lo script to explicitly do:

route add -net 127.0.0.0

fixes the problem.

--
Rasmus Lerdorf
rasmus@vex.net