2008-07-27 11:00:32

by Rufus & Azrael

[permalink] [raw]
Subject: [2.6.26-git15] Cannot open "/proc/sys/net/ipv4/route/flush"

Hello all,


After compiling the very latest git kernel this morning, I have this
message on boot (on Gentoo box) :

Bringing up interface lo
127.0.0.1/8 ...
Adding routes
127.0.0.0/8 via 127.0.0.1 ...
Cannot open "/proc/sys/net/ipv4/route/flush"

Do I put
/proc/sys/net/ipv4/route/flush=1
or
net.ipv4.conf.all.accept_source_route = 1

in my sysctl.conf file ?

Regards.


2008-07-27 11:32:18

by Hugh Dickins

[permalink] [raw]
Subject: Re: [2.6.26-git15] Cannot open "/proc/sys/net/ipv4/route/flush"

On Sun, 27 Jul 2008, Rufus & Azrael wrote:
>
> After compiling the very latest git kernel this morning, I have this message
> on boot (on Gentoo box) :
>
> Bringing up interface lo
> 127.0.0.1/8 ...
> Adding routes
> 127.0.0.0/8 via 127.0.0.1 ...
> Cannot open "/proc/sys/net/ipv4/route/flush"
>
> Do I put
> /proc/sys/net/ipv4/route/flush=1
> or
> net.ipv4.conf.all.accept_source_route = 1
>
> in my sysctl.conf file ?

If I may answer a different question, I believe you need Al Viro's
[PATCH] lost sysctl fix
http://lkml.org/lkml/2008/7/27/7
and
[PATCH] missing bits of net-namespace / sysctl
http://lkml.org/lkml/2008/7/27/61

Hugh

2008-07-27 11:48:32

by Rufus & Azrael

[permalink] [raw]
Subject: Re: [2.6.26-git15] Cannot open "/proc/sys/net/ipv4/route/flush"

Hugh Dickins wrote:
> On Sun, 27 Jul 2008, Rufus& Azrael wrote:
>
>> After compiling the very latest git kernel this morning, I have this message
>> on boot (on Gentoo box) :
>>
>> Bringing up interface lo
>> 127.0.0.1/8 ...
>> Adding routes
>> 127.0.0.0/8 via 127.0.0.1 ...
>> Cannot open "/proc/sys/net/ipv4/route/flush"
>>
>> Do I put
>> /proc/sys/net/ipv4/route/flush=1
>> or
>> net.ipv4.conf.all.accept_source_route = 1
>>
>> in my sysctl.conf file ?
>>
>
> If I may answer a different question, I believe you need Al Viro's
> [PATCH] lost sysctl fix
> http://lkml.org/lkml/2008/7/27/7
> and
> [PATCH] missing bits of net-namespace / sysctl
> http://lkml.org/lkml/2008/7/27/61
>
> Hugh
>
>
Thanks Hugh,

I have applied these two patches and all is returning in order about sysctl.