lkml.org 
[lkml]   [1996]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: RedHat boot-up script problem with recent kernels
Date
rasmus@madhaus.utcs.utoronto.ca wrote:
>
> 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

That's the right answer. The network code allowed, wrongly, 127.0.0.1 as a
network before. It's been fixed.

I have to say the RedHat startup scripts are pretty poor... I must get around
to mailing them mine. The overall idea is okay... but you try changing from
runlevel 3 to 2... and then back to 3... Or down to 1... etc.

-- Peter
--
drealm Conference System - (+44) 181 568 2204 (V.34)
The home of drealmBBS ---- five lines -- linux files
------- http://www.ndirect.co.uk/~drealmbbs --------


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.047 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site