Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219654 - net-misc/ntp - ntpd doesn't run with the default -u ntp:ntp option
Summary: net-misc/ntp - ntpd doesn't run with the default -u ntp:ntp option
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-28 21:19 UTC by Andrew John Hughes
Modified: 2008-05-06 12:13 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 Andrew John Hughes 2008-04-28 21:19:53 UTC
ntpd exits immediately when run with the default option.
Removing this option (and running as root) works.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-28 21:25:07 UTC
Are you sure this is not a duplicate of bug #219627?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-28 21:33:32 UTC
Assuming we are talking about net-misc/ntp here.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-30 15:59:35 UTC

*** This bug has been marked as a duplicate of bug 219627 ***
Comment 4 Andrew John Hughes 2008-05-06 01:14:05 UTC
I don't think this is a duplicate, this problem holds without the caps use flag on.

ntpd will run as root and when the ntp:ntp option is removed (presumably the same thing). I presume there is something inaccessible by ntp that makes it fail.

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4.rivendell x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4.rivendell x86_64 Intel(R) Xeon(R) CPU X5482 @ 3.20GHz
Timestamp of tree: Fri, 25 Apr 2008 00:19:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -ggdb"
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/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CPPFLAGS="-I/home/andrew/build/include"
CXXFLAGS="-O2 -pipe -march=nocona -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo "
LINGUAS="en_GB"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/andrew/projects/gnu_andrew_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups cvs dbus djvu dri dts dv dvd dvdr dvdread eds emacs emboss encode evo fam firefox flac fontconfig fortran ftp gcj gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv idn ieee1394 imap ipv6 isdnlog javascript jbig jpeg jpeg2k kde kerberos ladspa latex lcms ldap libcaca libnotify libsamplerate lzo mad mbox midi mikmod mmap mmx mng mp3 mpeg mudflap musepack nas ncurses nis nls nntp nptl nptlonly odbc ogg openexr opengl openmp oss pam pcre pdf perl png postgres pppd python qt3 qt3support qt4 quicktime readline reflection sasl sdl session speex spell spl sse sse2 ssl startup-notification subversion svg tcpd tga theora threads tiff truetype unicode vorbis wmf x264 xattr xft xml xorg xprint xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeonhd fglrx radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 SpanKY gentoo-dev 2008-05-06 12:13:23 UTC
the -u option only works when USE=caps