Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] "inet.ipv4.conf.all.rp_filter" is an unknown key
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sun Feb 04, 2007 1:16 am    Post subject: [Solved] "inet.ipv4.conf.all.rp_filter" is an unkn Reply with quote

Hi, all...

I just upgraded to the new kernel sources (2.6.19-r5), today, and with my boot messages, I now get:
Code:

error: "net.ipv4.conf.default.rp_filter" is an unknown key
error: "net.ipv4.conf.all.rp_filter" is an unknown key


This message is something I've never encountered, or delved into...

Could someone familiar with this please get me going in the right direction?

Thanks!
_________________
"Primum non nocere" ---Galen


Last edited by cgmd on Sun Feb 04, 2007 9:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Feb 04, 2007 5:35 pm    Post subject: Reply with quote

Not sure what you changed in your kernel configuration to disable the rp_filter facilities (which are a good thing), but if all you want is to get rid of those error messages, comment out the lines containing net.ipv4.conf.all.rp_filter and net.ipv4.conf.default.rp_filter in /etc/sysctl.conf.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sun Feb 04, 2007 6:02 pm    Post subject: Reply with quote

moocha wrote:
Quote:
Not sure what you changed in your kernel configuration to disable the rp_filter facilities (which are a good thing), but if all you want is to get rid of those error messages, comment out the lines containing net.ipv4.conf.all.rp_filter and net.ipv4.conf.default.rp_filter in /etc/sysctl.conf.


Thanks, for that information. Naturally I would rather restore the rp_filter facilities, however, I'm now experiencing trouble finding those settings in my kernel, that I would need to change.

What section would contain them?

Thanks for helping!
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Feb 04, 2007 6:18 pm    Post subject: Reply with quote

They should be provided automatically by net/devinet.c. Looking through that file, the only way you'd manage to disable them is if you disable IPv4 altogether (I doubt you did :D) or if you disable CONFIG_SYSCTL, i.e. if you turned off General settings -> Sysctl support. I don't recommend turning sysctl support off.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sun Feb 04, 2007 9:32 pm    Post subject: Reply with quote

moocha wrote:
Quote:
or if you disable CONFIG_SYSCTL, i.e. if you turned off General settings -> Sysctl support. I don't recommend turning sysctl support off


How correct you are! My sysctl kermel config:

Code:
Symbol: SYSCTL_SYSCALL [=n]
  ³ Prompt: Sysctl syscall support                                                                                                               
  ³   Defined at init/Kconfig:305
  ³   Depends on: EMBEDDED
  ³   Location:
  ³     -> General setup
  ³       -> Configure standard kernel features (for small systems) (EMBEDDED [=y])                                                                   
  ³
  ³   Selects: SYSCTL
  ³ 
  ³
  ³ Symbol: PROC_SYSCTL [=n]
  ³ Prompt: Sysctl support (/proc/sys)
  ³   Defined at fs/Kconfig:941
  ³   Depends on: PROC_FS && EMBEDDED
  ³   Location:
  ³     -> File systems
  ³       -> Pseudo filesystems
  ³         -> /proc file system support (PROC_FS [=y])
  ³   Selects: SYSCTL
  ³
  ³
  ³ Symbol: SYSCTL [=n]
  ³   Selected by: SYSCTL_SYSCALL || PROC_SYSCTL && PROC_FS


Recompiling, with sysctl enabled has eliminated the error. In retrospect, I don't believe the kernel upgrade was responsible, but, likely, the error has been there all along, just previously unnoticed by me. :(

In any case, thanks for your pointers. You've been a great help!
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Feb 04, 2007 10:12 pm    Post subject: Reply with quote

You're most welcome. I'm glad it's fixed - have fun!
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum