When I start mtr with --address option I receive the messege: mtr: failed to bind to interface: Socket operation on non-socket Reproducible: Always Steps to Reproduce: 1. emerge net-analyzer/mtr 2. mtr --address "one of my addresses on rotuer" "other ip address" 3. I received the error : Actual Results: mtr: failed to bind to interface: Socket operation on non-socket Expected Results: The software should start trace with the source address specified after "-- address" option !
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5- r0, 2.6.12g1 i686) ================================================================= System uname: 2.6.12g1 i686 Pentium III (Katmai) Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe -fno-strict-aliasing -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fno-strict-aliasing -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.lug.ro/gentoo http://distfiles.gentoo.org" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage" USE="x86 alsa crypt eds fortran gd gdbm gif gstreamer jpeg libwww mmx mp3 mysql ncurses nls nptl nptlonly ogg oss pam perl png python readline slang snmp spell sse ssl tcpd truetype vorbis xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I can confirm the problem using --address. If --address is not specified, it works ok.
Added a patch from Debian to 0.69-r1, it fixed the problem for me. Thanks for reporting!