Skip to contentSkip to conversation

Cannot open "/proc/sys/net/ipv4/route/flush"

2.6.26-git15 Rufus & Azrael 2 participants 3 messages Jul 27, 2008

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 8 lines · Rufus & Azrael

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 ...
Quoted 8 lines

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

#2 lore raw
Quoted 19 lines · Hugh Dickins
Quoted 7 lines · Rufus& Azrael

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 ...
Quoted 9 lines

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 ?

Quoted 10 lines

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.