Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548408 - net-misc/iputils: ping: WARNING: kernel is not very fresh, upgrade is recommended.
Summary: net-misc/iputils: ping: WARNING: kernel is not very fresh, upgrade is recomme...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-02 16:38 UTC by Vadim A. Misbakh-Soloviov (mva)
Modified: 2016-10-15 07:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to remove bogus check required for < 2.4.9 kernels (iputils-20121221-warn-kern-fresh.patch,1.49 KB, patch)
2015-06-26 03:34 UTC, Sebastian Schocke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-05-02 16:38:31 UTC
iputils has wrong check for kernel features, which leads to the warning from the subject when user is pinging host via the network without proper routing for that. The problem is someway described on the debian bz: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709052

I'd also note, that I can reproduce it every time by either unplugging Ethernet from the router or:
> ping 8.8.8.8 -I vpn

(where vpn is (SUDDENLY) tun/tap VPN interface without internet access, managed by tinc-1.1pre11 in switch mode).
Comment 2 Forza 2015-05-06 11:43:36 UTC
Can confirm the same error on gentoo-sources-4.0.1 and iputils-20121221-r1
Comment 3 SpanKY gentoo-dev 2015-05-06 14:52:53 UTC
(In reply to Felix Janda from comment #1)

i glanced through that commit and i'm not convinced it's entirely correct.  it isn't only deleting the warning message, but also adding socket options and detecting resulting errors.
Comment 4 Sebastian Schocke 2015-06-26 03:34:54 UTC
Created attachment 405768 [details, diff]
Patch to remove bogus check required for < 2.4.9 kernels

Attached a proposed patch to fix this issue. It clears up the warning on my side without any new issues appearing on my side.

Based on https://github.com/iputils/iputils/commit/5bb0f0a8b0ed6f111a329c0d6911dfa516ab1d42?diff=unified