Vieri l33t
Joined: 18 Dec 2005 Posts: 870
|
Posted: Mon May 23, 2011 7:29 am Post subject: sysctl.conf |
|
|
Hi,
My /etc/sysctl.conf has:
Code: |
net.netfilter.nf_conntrack_acct = 1
|
but when I reboot the system, I get:
Code: |
# cat /proc/sys/net/netfilter/nf_conntrack_acct
0
|
Please note that:
Code: |
# grep -i "sysctl" /usr/src/linux/.config
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_SYSCTL=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_PROC_SYSCTL=y
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
|
Code: |
# uname -a
Linux inf-fw 2.6.37-gentoo-r4 #1 SMP Tue May 10 18:21:41 CEST 2011 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
|
Code: |
# rc-update show
bootmisc | boot
|
Why isn't it booting correctly? Am I missing something?
I would like to avoid setting this value outside sysctl.conf with, eg.:
Code: |
sysctl -w net.netfilter.nf_conntrack_acct=1
|
Thanks,
Vieri |
|