Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122912 - openntpd error after running ~1 day: sendto: Invalid argument
Summary: openntpd error after running ~1 day: sendto: Invalid argument
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-15 05:34 UTC by Chris
Modified: 2007-06-29 08:53 UTC (History)
2 users (show)

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 Chris 2006-02-15 05:34:17 UTC
I'm using the ebuild for openntpd 3.7_p1 which works quite nicely. But after running about one day the normal output suddenly changes:

reply from 80.190.252.238: offset -0.028608 delay 0.096864, next query 310s
reply from 212.204.235.154: offset -0.021086 delay 0.113792, next query 314s
sendto: Invalid argument
sendto: Invalid argument
...

It just continues to go on like that and doesn't answer to ntp queries anymore. (I'm using it as LAN ntpd.)


Portage 2.0.54 (hardened/x86/2.6, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.14-hardened-r3 i686)
=================================================================
System uname: 2.6.14-hardened-r3 i686 Pentium II (Klamath)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -fmerge-all-constants"
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=pentium2 -O3 -pipe -fomit-frame-pointer -fmerge-all-constants"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo http://pandemonium.tiscali.de/pub/gentoo/ ftp://gentoo.blueyonder.co.uk/mirrors/gentoo http://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="aalib acpi acpi4linux activefilter aim apache2 bash-completion berkdb bzip2 crypt curl dir dlloader expat gd gif gmp hardened icq imagemagick imap innodb irc jabber jpeg libwww mail md5sum mhash msn mysql ncurses nethack nls offensive oggvorbis open oscar pam pcre perl php pic png python readline rss samba sasl snmp sqlite ssl tcpd tiff truetype udev unicode userlocales utf8 winbind x86 xml xml2 xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2006-05-29 07:22:10 UTC
is this still a problem?

could i get you to try openntpd-3.9p1?
Comment 2 Chris 2006-05-29 10:14:25 UTC
(In reply to comment #1)
> is this still a problem?
> 
> could i get you to try openntpd-3.9p1?
> 

i switched to chrony in the meantime but gladly trying openntpd again. gimme a few days.
Comment 3 Chris 2006-06-08 17:06:11 UTC
nope sorry still no good
exactly the same problem
Comment 4 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2006-06-10 13:22:03 UTC
hhm, crazy...

can't think of anything. firewall perhaps? 

running strace for a whole day is not really an option, i guess...

i have openntpd running both on x86 and x86-hardened with 300-600 req/min for months in a row - no problem here.
Comment 5 Johan Hattne 2007-01-23 14:50:21 UTC
(In reply to comment #4)

> can't think of anything. firewall perhaps?

I guess it's a problem of openntpd, 3.9 shows the same symptoms.  

Norbert Buchmuller reported the same bug in Debian, and also came up with a patch to work around it.  Please see http://bugs.debian.org/392250 for his description and a patch.

The patch applies to 3.7_p1 as well.
Comment 6 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2007-02-19 21:59:01 UTC
openntpd-3.9_p1-r1 was committed to the tree which applies the patch from the debian bug tracker - please test. if nothing shows up i plan on asking for stable marking on that one in a month or two...

thanks for everybodies input - sorry for taking so long...
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-06-29 08:53:31 UTC
Is fixed for a long time now...closing