Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#599556: procps: sysctl is using deprecated sysctl(syscall) net.ipv6.neigh.default.retrans_time

509 views
Skip to first unread message

Alexandre Cavalcante Alencar

unread,
Oct 8, 2010, 4:30:01 PM10/8/10
to
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.

-- 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

Craig Small

unread,
Oct 9, 2010, 6:40:02 PM10/9/10
to
On Fri, Oct 08, 2010 at 05:13:32PM -0300, Alexandre Cavalcante Alencar wrote:
> process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.default.retrans_time; Use net.ipv6.neigh.default.retrans_time_ms instead.

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

Alexandre Cavalcante Alencar

unread,
Oct 9, 2010, 8:40:02 PM10/9/10
to
Hey Craig,

There is no net.ipv6.neigh.default.retrans_time reference in /etc/sysctl.conf here at my system or from debian package. There is not such (grep -rni net.ipv6.neigh.default.retrans_time *) reference of it in deb src package.

Can you scalate it to upstream? I think it's a simple API update, but I am not familiar with proc API...

Thank you


Alexandre Alencar
http://blog.alexandrealencar.net/
http://www.alexandrealencar.net/
COBIT, ITIL, CSM, LPI, MCP-I

Craig Small

unread,
Oct 9, 2010, 11:10:01 PM10/9/10
to
On Sat, Oct 09, 2010 at 09:34:41PM -0300, Alexandre Cavalcante Alencar wrote:
> Can you scalate it to upstream? I think it's a simple API update, but I am
> not familiar with proc API...
All sysctl does is set key X to value Y, with sysctl X=Y If you tell it
the "wrong" X, then it tries anyhow.

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

--

Hilmar Preusse

unread,
Nov 30, 2010, 4:50:02 AM11/30/10
to
On 08.10.10 Alexandre Cavalcante Alencar (alexandr...@gmail.com) wrote:

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

Craig Small

unread,
Dec 7, 2010, 5:20:02 PM12/7/10
to
On Tue, Nov 30, 2010 at 10:43:13AM +0100, Hilmar Preusse wrote:
> On 08.10.10 Alexandre Cavalcante Alencar (alexandr...@gmail.com) wrote:
> 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?

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

Hilmar Preusse

unread,
Dec 8, 2010, 4:20:02 AM12/8/10
to
On 07.12.10 Craig Small (csm...@debian.org) wrote:
> On Tue, Nov 30, 2010 at 10:43:13AM +0100, Hilmar Preusse wrote:

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

robert

unread,
Mar 27, 2020, 6:00:03 AM3/27/20
to
Querido amigo,
Meu nome é Bar.robert anderson Eu sou advogado e particular
gerente de conta para meu cliente atrasado. No ano de 2015, meu
cliente pelo nome
Sr. Carlos, faleceu. A razão pela qual eu entrei em contato com você é
porque você
tem o mesmo sobrenome do falecido, e posso apresentá-lo como
o beneficiário e parente próximo aos meus fundos de clientes
atrasados, então você vai
permanecer como seu parente mais próximo e reivindicar os fundos.
deixando para trás um dinheiro
herança de sete milhões quinhentos mil Estados Unidos
(US $ 7.500.000,00). Meu cliente e amigo íntimo falecido cresceu em
um "lar de bebês sem mãe". Ele não tinha família, nem beneficiário nem próximo
parentes dos Fundos de herança deixados para trás no Banco.
Você deve entrar em contato comigo através do meu endereço de e-mail particular:
robertande...@gmail.com
Cumprimentos,
Barra. Robert Anderson
0 new messages