Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 380869

Summary: net-analyzer/fprobe-1.1-r2: bind(): Address family not supported by protocol
Product: Gentoo Linux Reporter: Alexandr Tiurin <alexanderyt>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bug, lukasz, sgtphou
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info fprobe
Patch for fprobe to work with kernels >=2.6.39

Description Alexandr Tiurin 2011-08-27 18:25:25 UTC
fprobe do not start after upgrade from sys-kernel/openvz-sources to gentoo-sources-2.6.39-r4 and 3.0.3.

Reproducible: Always

Steps to Reproduce:
/etc/init.d/fprobe start

Actual Results:  
 * Caching service dependencies ...                                                                           
[ ok ]
 * Starting fprobe ...
bind(): Address family not supported by protocol
 * start-stop-daemon: failed to start `/usr/sbin/fprobe'                                                      [ !! ]
 * ERROR: fprobe failed to start
Comment 1 Alexandr Tiurin 2011-08-27 18:30:24 UTC
Created attachment 284817 [details]
emerge --info fprobe
Comment 2 FieldySnuts 2011-09-01 19:05:58 UTC
I am also seeing this with manually installed vanilla kernel 2.6.39.3 on x86, with fprobe-1.1 (-r2 dies on me) and run manually:

fprobe -i eth0 localhost:12345

Or any other of a wide array of valid commands gives me:

bind(): Invalid argument

A workaround or fix would be nice.
Comment 3 Lukasz Wasikowski 2011-09-12 08:15:46 UTC
Created attachment 286207 [details, diff]
Patch for fprobe to work with kernels >=2.6.39

Problem seems to started with >=2.6.39. Try attached patch.
Comment 4 Alexandr Tiurin 2011-09-13 18:05:59 UTC
This patch works for me with gentoo-sources-3.0.4. Thanks you Lukasz!
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2021-06-25 19:30:43 UTC
Obsolete, works with newer kernels