On Mon, 25 Feb 2013 18:20:58 +0100, David Sommerseth
<[log in to unmask]> wrote:
>On 23/02/13 19:08, Stephen Isard wrote:
>> A strange item turned up in my logs yesterday:
>>
>> kernel: process `grep' is using deprecated sysctl (syscall)
>> net.ipv6.neigh.default.retrans_time; Use
>> net.ipv6.neigh.default.retrans_t ime_ms instead.
<snip>
>I managed to trigger this one on a Fedora installation too. I guess
>someone did grep for something inside /proc ...
>
> $ grep 0 /proc/sys/net/ipv6/neigh/default/retrans_time
> $ dmesg | tail -n1
> [61022.270399] process `grep' is using deprecated sysctl (syscall)
net.ipv6.neigh.default.retrans_time; Use
net.ipv6.neigh.default.retrans_time_ms instead.
>
>It's not caused by 'grep' itself, but as 'grep' was looking at a sysctl
>parameter which is now deprecated - this triggered the warning you saw.
Hmm. There was no other user on the machine at the time (I hope! No trace
of one in the logs anyway) and I certainly didn't look at that /proc file
myself from the command line. I guess it's possible that the spurious usb
event somehow led to a grep call.
Thanks.
Stephen Isard