sysctl.conf ignore net settings
Posted
by
Steffen Unland
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Steffen Unland
Published on 2012-05-31T09:17:27Z
Indexed on
2012/05/31
10:50 UTC
Read the original article
Hit count: 349
10.04
I have a little problem with sysctl on a Ubuntu 10.04 LTS system.
When I set the sysctl values with "sysctl -w " all work fine, but when I try to use the sysctl.conf file. the net settings will be ignored.
For example my sysctl.conf
# /etc/sysctl.conf - Configuration file for setting system variables
kernel.domainname=findme.sysctl
# Corefiles information
fs.suid_dumpable=2
kernel.core_pattern=/cores/core-%e-%s-%u-%g-%p-%t
##############################################################3
# Functions previously found in netbase
net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait=1
net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait=1
when I grep to the values, I can see that the sysctl settings for net.ipv4.netfilter don't set.
[host:~ ] $ sysctl -a | grep domainname
kernel.domainname = findme.sysctl
[host:~ ] $ sysctl -a | grep "core_pattern"
kernel.core_pattern = /cores/core-%e-%s-%u-%g-%p-%t
[host:~ ] $ sysctl -a | grep "timeout_fin_wait"
net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 120
net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait = 120
[host:~ ] $ sysctl -a | grep "timeout_close_wait"
net.netfilter.nf_conntrack_tcp_timeout_close_wait = 60
net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait = 60
can somebody help me to solve the problem?
If you need more information I can post it.
Cheers,
Steffen
© Ask Ubuntu or respective owner