Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41819

Summary: ntpd 4.2.0 does not accept -U argument
Product: Gentoo Linux Reporter: Tom Kiermaier <epyon9283>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Kiermaier 2004-02-16 12:40:58 UTC
With the default options in /etc/conf.d/ntpd, ntpd 4.2.0 will not start. The -U argument seems to be gone. I get this when I try to start it:
raptor conf.d # /etc/init.d/ntpd start
 * Starting ntpd...
/usr/bin/ntpd: unknown option -U
usage: /usr/bin/ntpd [ -abdgmnqx ] [ -c config_file ] [ -e e_delay ]
                [ -f freq_file ] [ -k key_file ] [ -l log_file ]
                [ -p pid_file ] [ -r broad_delay ] [ -s statdir ]
                [ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ]
                [ -P fixed_process_priority ]
 * Failed to start ntpd                                                   [ !! ]



Reproducible: Always
Steps to Reproduce:
1.upgrade to ntp 4.2.0
2./etc/init.d/ntpd start
3.watch it fail

Actual Results:  
ntpd failed to start due to it not knowing what the -U option does

Expected Results:  
It should have started normally as user ntp. 

raptor conf.d # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.6.3-rc2-mm1)
=================================================================
System uname: 2.6.3-rc2-mm1 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla
moznocompose moznoirc mpeg mysql ncurses nls nptl oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd
truetype x86 xft xml2 xmms xv zlib"
Comment 1 Tom Kiermaier 2004-02-16 12:57:55 UTC
Oops never mind. It was a configuration issue