With packages: [ebuild R ] net-misc/openntpd-3.7_p1 USE="ssl (-selinux)" 0 kB [ebuild R ] net-misc/ntp-4.2.2_p3 USE="caps ipv6 openntpd ssl -debug -logrotate -parse-clocks (-selinux)" 0 kB The instruction: ntpq -p brings always the error in the log file: Nov 26 20:29:00 wiesel ntpd[2005]: malformed packet received Without USE-Flag "openntpd" (only also with net-misc/ntp-4.2.2_p3) it goes. See also http://forums.gentoo.org/viewtopic-p-3733844.html
that doesnt really make much sense ... USE=openntpd only controls whether the binary installed comes from the ntp package or the openntpd package so what you might actually be trying to say is that if you used the `ntpq` client from the ntp package with the `ntpd` server from the openntpd package, the server reports "malformed packet received" you forgot to post `emerge info`, do so now please
(In reply to comment #1) > you forgot to post `emerge info`, do so now please My "emerge --info" from yesterday is in: See also http://forums.gentoo.org/viewtopic-p-3733844.html My current: Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 x86_64) ================================================================= System uname: 2.6.18-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.6 Last Sync: Sun, 26 Nov 2006 16:01:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo/ http://gentoo.intergenia.de ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ " LANG="de_DE@euro" LINGUAS="de en_GB" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 7zip X X509 Xaw3d a52 aac aalib acl acpi aim aimextras alsa amd amr ao aoss apache apache2 apm arts artswrappersuid asf async atk automount avalon bash-completion bashlogger beagle berkdb bitmap-fonts bl bmpx bzip2 cairo calendar capi caps cdda cddb cdparanoia cdr cdrom cgi chipcard chipcard2 chroot cli contentcache cracklib crosscompile crypt css cups custom-cflags dbx dga directfb divx dlloader dmi dnd dri dts dv dvb dvd dvdr dvdread dvi dxr3 elibc_glibc emul-linux-x86 encode escreen exif ext-iiimf extensions extraengine extrafilters fam fame fat fax faxonly fbdev fbsplash ffmpeg fftw firefox flac flash flatfile font-server fontconfig foomaticdb fortran freetype2 ftp fuse gcc64 gdbm gdl gdm gecko-sdk geldkarte general geos gif gimp gimpprint glade gmedia gnokii gnome gphoto2 gpm grammar gs gstreamer gtk gtk2 gtkhtml gzip hbci high-ints highlight html http iconv icq id3 ieee1394 image imagemagick imap imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse iodbc ipod ipppd ipsec ipv6 irda irmc isdn isdnlog java java5 javascript jbig jboss jingle jmx jpeg jpeg2k jpgraph jta kde kdepim kdm kerberos kernel_linux kipi lame latex ldap ldapsam libg++ libtommath libwww linguas_de linguas_en_GB lirc lm_sensors logitech-mouse lzo lzw mad math matrox mime mimencode mixer mjpeg mng mod modplug moneyplex mozcalendar mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer msn multiuser mysql mysqlfriends mysqli nas ncurses net network nforce2 nfs nis nls nntp nptl nptlonly nsplugin ntfs ntlm ntlm_unsupported_patch ntp nvidia nvram odbc ofx ogg on-the-fly-crypt opengl openssh openssl opensslcrypt osc oscache pam pccts pcre pda pdf perl php player png ppds pppd print ps python qt3 qt4 quicktime quotas rar rdesktop readline reflection reiser4 reiserfs resolvconf rle rsh rtc rtsp samba sametime scanner screen sdl sdl-sound sdlaudio seamonkey serial server session sftp shout slp smarty smp sms sndfile snmp sockets socks5 softfax sound sox speech speedo speex spell spl sse-filters ssl stream suid suidcheck svg svgz sysfs syslog szip taglib tagwriting tcl tcltk tcpd tga theora thesaurus threads threadsonly thumbnail thunderbird tiff tk toolbar transcode truetype truetype-fonts type1 type1-fonts udev unicode unzip usb userland_GNU userlocales v4l v4l2 vcd vdr video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vlm vnc vncviewer voodoo1 voodoo2 voodoo3 voodoo5 vorbis vorbis-psy wifi winbind withsamplescripts wma wmf wmp wordexp wordperfect x11vnc x264 xbase xcomposite xerces-c xext xface xforms xfs xft xim xine xinerama xinetd xlockrc xml xmldoclet xmlreader xmlwriter xorg xosd xpm xprint xscreensaver xsettings xsl xslt xterm xv xvid xvmc xvnc yahoo zeroconf zip zlib zvbi" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
telling people to dig through forums is a waste of time ... you post all relevant information in the bug report
Sorry, that are all information, which I have. In the forum the same is located as here.
The USE-Flag "openntpd" is missing, since I now unmerged openntpd, so that it functions. Otherwise it is the same.
what does 'ntpq -p' do? and why would openntpd support it (whatever it is)?
"ntpq - p" indicates all time servers and to their status of the synchronisation. And the Client ntpq (NTP) comes closer in addition to the server ntpd (openntpd). An example: cat:$ ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== ntps1-0.cs.tu-b .PPS. 1 u 195m 36h 337 49.911 4.034 32.368 rustime01.rus.u .DCFp. 1 u 212m 36h 377 39.099 7.128 28.159 +adsl-212-20-244 130.88.200.6 3 u 163 1024 377 90.608 2.909 9.320 *loewe.zoo.tom 130.149.17.21 2 u 805 1024 377 0.986 5.223 2.026 cat:$ ntptrace localhost: stratum 3, offset 0.009495, root distance 0.053380 loewe.zoo.tom: stratum 2, offset -0.000313, root distance 0.052006 ntps1-0.cs.tu-berlin.de: stratum 1, offset -0.000016, root distance 0.000000, refid 'PPS'
from the man page of ntpd if gather the following: The ntpq utility is used to query NTP servers which implement the recom- mended NTP mode 6 control message format about current state and to request changes in that state. i guess openntpd does not implement NTP mode 6 control messages and that is why ntpq is failing and openntpd is saying 'malformed packet received'. if i understood upstream correctly, this is on purpose (openntpd is supposed to be lightweight). ie. its not a bug, its a feature. feel free to reopen the bug, if you think i misunderstood the situation (likely, as i still dont know what ntpq does). thanks
(In reply to comment #8) > feel free to reopen the bug, But it explains to thanks. Sorry that I did not find it not.
*** Bug 157854 has been marked as a duplicate of this bug. ***