process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.default.retrans_time; Use net.ipv6.neigh.default.retrans_time_ms instead.
-- System Information:
Debian Release: 5.0.6
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-bpo.1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages procps depends on:
ii libc6 2.7-18lenny4 GNU C Library: Shared libraries
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
Versions of packages procps recommends:
ii psmisc 22.6-1 Utilities that use the proc filesy
procps suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
This key is not found in the Debian package sysctl.conf files. So it
means either you (or some other administrator) has put this in or
another package has.
The files you want to look at are /etc/sysctl.conf and /etc/sysctl.d/*
and you should see that key mentioned on one of those files.
In any case, it's not sysctl's fault if someone tries to use an old key;
it's just doing what it's been told to do.
Once we work out where this key came from, I'll close or re-assign the
bug.
- Craig
--
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/ csmall at : enc.com.au
http://www.debian.org/ Debian GNU/Linux, software should be Free
Your computer is complaining that one of the keys (the X) is invalid. This is
not sysctl's doing! It will try to set whatever you give it, so its not
an API thing, something is "driving" sysctl incorrectly.
In other words some script somewhere on your system is trying to set a
deprecated key, using sysctl. That script is the problem, not sysctl.
Otherwise "cat" has the same problem :)
[1367355.534803] process `cat' is using deprecated sysctl (syscall) net.ipv6.neigh.default.retrans_time; Use net.ipv6.neigh.default.retrans_time_ms instead.
you get that by doing
# cat /proc/sys/net/ipv6/neigh/default/retrans_time
You need to grep wider, or try to work out when it happens. In any case
its not a bug in procps.
- Craig
--
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/ csmall at : enc.com.au
http://www.debian.org/ Debian GNU/Linux, software should be Free
--
Hi Craig,
> Package: procps
> Version: 1:3.2.7-11
> Severity: normal
>
> process `sysctl' is using deprecated sysctl (syscall)
> net.ipv6.neigh.default.retrans_time; Use
> net.ipv6.neigh.default.retrans_time_ms instead.
>
I do see that same problem when calling "sysctl -p /etc/sysctl.conf"
on the command line. The message appears in /var/log/messages. Here
is my sysctl.conf:
sid:~# grep -v ^# /etc/sysctl.conf|grep -v ^$
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
sid:~# grep -v ^# /etc/sysctl.d/*conf|grep -v ^$
net.ipv6.bindv6only = 1
This is procps 1:3.2.8-10 .
I guess we can rule out an configuration error.
Hilmar
--
sigmentation fault
Are you certain you are getting the message with
sysctl -p /etc/sysctl.conf?
stracing the command I see it doesn't go near those sysctl keys.
- Craig
--
Craig Small VK2XLZ http://www.enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Hi,
> > I do see that same problem when calling "sysctl -p /etc/sysctl.conf"
> > on the command line. The message appears in /var/log/messages. Here
> > is my sysctl.conf:
>
> sysctl -a will cause this to happen as it lists all options, including
> ones that should not be used. I'm not exactly sure how its supposed to
> know it's an old key.
>
> Are you certain you are getting the message with
> sysctl -p /etc/sysctl.conf?
>
OK, you're right. I interpreted it wrongly. :-(
At least The following command will cause the message to appear:
"sysctl -N -a". I'm pretty sure the -N is not necessary, I didn't
test it.
Remarks:
- it works only one time after a reboot, not sure why
- the command above is used in /etc/bash_completion.d/sysctl
belonging to bash-completion
/etc/bash_completion.d/sysctl seems to be broken anyway. Completion
of filenames when using option -p does not work, probably b/c it
tries to evaluate the list generated by sysctl -N -a.
H.
--
sigmentation fault