Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129091 - stabilize net-misc/rdate-1.4-r1
Summary: stabilize net-misc/rdate-1.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 23:27 UTC by Yang Zhao
Modified: 2006-07-13 07:43 UTC (History)
1 user (show)

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


Attachments
Build & test log with collision-protect on stable x86 system. (rdate.txt,2.92 KB, text/plain)
2006-05-23 12:36 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yang Zhao 2006-04-06 23:27:25 UTC
net-misc/rdate-1.4 has been in portage for at least 10 months, with no open bugs.

1.4-r1 may be considered for stable as well, although I've only used the init.d script twice thus far, both without problems.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-20 00:00:34 UTC
arches: please stabilize net-misc/rdate-1.4-r1. It has been in ~arch for almost all of you for more than a year now.

For a test procedure, emerge the package, and try this:

echo {0,1,2}.pool.ntp.org | xargs -n1 host | awk '{print $4}' | sort | uniq | xargs rdate -p -t 1

Hopefully one of the servers near you will still support it.

Sorry about the yucky test procedure, but only about 5% of the NTP servers still implement the rdate protocol (RFC868).

From where I am, the following NTP servers implement it, and are accessible to me:
202.0.185.154, 24.124.0.253, 24.130.58.99

ppc64: I know your arch hasn't been on 1.4* at all, it seems it was dropped accidently a year ago, but I encourage you to test it anyway, and keep this bug handy for a month.
Comment 2 Sander Knopper 2006-05-20 08:04:36 UTC
on x86:

[ebuild  N    ] net-misc/rdate-1.4-r1  -ipv6

There were some warnings during compilation:
rdate.c: In function `rdate':
rdate.c:156: warning: passing arg 2 of `connect' from incompatible pointer type
rdate.c:180: warning: passing arg 5 of `sendto' from incompatible pointer type
rdate.c:190: warning: passing arg 5 of `recvfrom' from incompatible pointer type

Not sure if this is easy to fix, anyway, the program runs fine with the given test procedure and a server I use to sync time and from which I know it should work.

Comment 3 David Morgan 2006-05-20 08:24:52 UTC
Hrm, works on x86 here, your test procedure doesn't, though.

Using hostx (provided by net-dns/host) instead of host, and changing $4 to $3:
sif ~ # echo {0,1,2}.pool.ntp.org | xargs -n1 hostx | awk '{print $3}' | sort | uniq | xargs rdate -p -t 1
rdate: invalid option -- t
Usage: rdate [-s] [-p] [-u] <host> ...
sif ~ # rdate -p -t 1 84.16.227.199
rdate: invalid option -- t
Usage: rdate [-s] [-p] [-u] <host> ...

I'm assuming that this is ok though:
sif ~ # rdate -p 202.0.185.154
[202.0.185.154]	Sat May 20 16:21:16 2006

I can't test whether or not ipv6 works, but it didn't break anything else

emerge --info
Gentoo Base System version 1.6.14
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r4 i686)
=================================================================
System uname: 2.6.16-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.86GHz
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.blueyonder.co.uk http://mirrors.blueyonder.co.uk/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cjk cli crypt cscope cups curl daap dbus dlloader dri dvd dvdr emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif glut graphviz gstreamer gtk2 hal idn imagemagick imap isdnlog jack jpeg kdeenablefinal lcms libcaca libg++ libwww live lua mad maildir matroska mbox mikmod mmx mng motif mp3 mp4 mpeg ncurses nls nptl ogg opengl pam pcre pdf pdflib perl png pppd python quicktime readline real reflection ruby samba sdl session spell spl sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vidix vorbis win32codecs x264 xine xorg xv xvid xvmc zlib video_cards_radeon video_cards_fglrx video_cards_vesa video_cards_ati input_devices_keyboard input_devices_mouse userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 4 nixnut (RETIRED) gentoo-dev 2006-05-20 09:47:54 UTC
Stable on ppc
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-20 13:11:11 UTC
David Morgan: you compiled rdate-0.990821-r2 instead of 1.4-r1.

Sander: thanks for the patch to clean up the warnings from email, I'll apply it later.
Comment 6 David Morgan 2006-05-20 17:55:00 UTC
Oops, sorry - usually I only almost forget to use the new version. The new version works fine with +/-ipv6 too
Comment 7 Jason Wever (RETIRED) gentoo-dev 2006-05-21 17:48:37 UTC
SPARC'd
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2006-05-23 12:36:04 UTC
Created attachment 87337 [details]
Build & test log with collision-protect on stable x86 system.

unaffiliated ~ # rdate
Usage: rdate [-s] [-p] [-u] [-l] [-t sec] <host> ...
unaffiliated ~ # rdate 24.130.58.99
rdate: [24.130.58.99]   Tue May 23 22:34:44 2006

Works fine on x86.

Thanks, Samuli 'drac' Suominen
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-23 14:26:19 UTC
x86 done
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2006-05-23 15:07:13 UTC
Comment on attachment 87337 [details]
Build & test log with collision-protect on stable x86 system.

as said, x86 is done
Comment 11 Christel Dahlskjaer (RETIRED) gentoo-dev 2006-05-24 08:27:29 UTC
mips doneth.
Comment 12 Markus Rothe (RETIRED) gentoo-dev 2006-05-26 10:18:09 UTC
stable on ppc64
Comment 13 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2006-05-27 04:18:21 UTC
stable on alpha.

Thanks Robin for providing the testcase.
Comment 14 Simon Stelling (RETIRED) gentoo-dev 2006-06-05 10:16:16 UTC
A
M
D
6
4
 STABLE
Comment 15 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-06-13 21:55:33 UTC
hppa/ia64: ping
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2006-06-14 02:32:59 UTC
Stable for hppa.
Comment 17 Aron Griffis (RETIRED) gentoo-dev 2006-07-13 07:43:05 UTC
ia64 done, closing