Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98630 - while stracing trafd -i ppp0 I get "unknown data link type 0x71"
Summary: while stracing trafd -i ppp0 I get "unknown data link type 0x71"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 00:15 UTC by Artyom Mukhopad
Modified: 2006-11-05 15:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artyom Mukhopad 2005-07-11 00:15:48 UTC
When I run "trafd -p -r -i ppp0" for traffic accounting, trafd is closing


Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/net.ppp0 start
2. trafd -p -r -i ppp0
3. ps ax | grep trafd  (no trafd found)
4. rm -rf /var/run/trafd.ppp0
5. strace -f trafd -p -r -i ppp0

Actual Results:  
connect(4, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
send(4, "<29>Jul 11 09:55:38 trafd[11209]"..., 67, 0) = 67
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
setsockopt(3, SOL_SOCKET, SO_ATTACH_FILTER, "\1\0\0\0h\244\361\267", 8) = 0
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
recv(3, 0xbfc40e9b, 1, MSG_TRUNC)       = -1 EAGAIN (Resource temporarily
unavailable)
fcntl64(3, F_SETFL, O_RDWR)             = 0
setsockopt(3, SOL_SOCKET, SO_ATTACH_FILTER, "\1\0\357\267ha\r\10", 8) = 0
write(2, "trafd: ", 7)                  = 7
write(2, "unknown data link type 0x71", 27) = 27
write(2, "\n", 1)                       = 1
exit_group(1)                           = ?
Process 11209 detached

Expected Results:  
trafd should be in daemon mode

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Celeron(TM) CPU                1000MHz
Gentoo Base System version 1.6.12
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
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="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/share/config /var/bind /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distfiles:emerge@ftp2.gentoo.lin.com.ua
http://distfiles.stream.net.ua ftp://distfiles:emerge@ftp1.gentoo.lin.com.ua
http://mymirror.asiaosc.org/gentoo/"
LANG="ru_RU.KOI8-R"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups
curl emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gtk
gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mp3 mpeg mysql
ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba sdl snmp spell ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-11 03:27:45 UTC
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure
is not the correct addressee.
Comment 2 Jeffrey Forman (RETIRED) gentoo-dev 2005-07-18 11:40:43 UTC
bouncing to correct location
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2006-10-08 10:57:39 UTC
Hrm aging bugreport. Is this still an issue?
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2006-11-05 15:39:51 UTC
reopen if problem still persists