After emerging ntp-4.1.1b-r4.ebuild (v1.4), there are no files /etc/init.d/ntpd /etc/conf.d/ntpd These seem to be needed to run ntpd as a daemon. Unlike for /etc/ntp.conf, there are no sample files in /usr/share/ntp either. I had to pull the files from CVS. [BTW, it would also be nice to suggest "rc-update add ntpd default" somewhere] Reproducible: Didn't try Steps to Reproduce: 1. emerge net-misc/ntp # emerge info Portage 2.0.47-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20 i686 Pentium III (Coppermine) GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/dev/sda5/space/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow avi crypt cups encode gif gpm libg++ mikmod mmx mpeg ncurses nls pdflib qtmt quicktime spell xml2 xmms zlib gdbm berkdb slang tetex svga guile sdl pam libwww ssl perl python esd imlib oggvorbis qt motif opengl -aalib alsa apm -arts cdr dvd gnome gphoto2 gtk gtk2 java jpeg -kde mozilla png readline samba sse tcpd truetype usb voodoo3 X xv" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
where there any errors on merge ? if not this is a portage bug ;)
Created attachment 8548 [details] Log file from "emerge ntp" I did "emerge -C ntp" and then "emerge ntp | tee emerge-ntp.log". Again, the two config files did not get installed. Attached is the log file.
Looks like it's just not installing anything... Portage doesn't acknowledge any files are put in /etc, protected or not. doins: warning, skipping directory scripts/monitoring doins: warning, skipping directory scripts/rc1 doins: warning, skipping directory scripts/rc2 doins: warning, skipping directory scripts/stats doins: warning, skipping directory scripts/support >>> Completed installing into /mnt/dev/sda5/space/var/tmp/portage/ntp-4.1.1b-r4/
from the ebuild: exeinto /etc/init.d ; newexe ${FILESDIR}/ntpd.rc ntpd insinto /etc/conf.d ; newins ${FILESDIR}/ntpd.confd ntpd root@vapier root # ebuild /usr/portage/net-misc/ntp/ntp-4.1.1b-r4.ebuild clean unpack compile install <ebuild does its thing> root@vapier root # ls /var/tmp/portage/ntp-4.1.1b-r4/image/etc/* /var/tmp/portage/ntp-4.1.1b-r4/image/etc/conf.d: ntpd /var/tmp/portage/ntp-4.1.1b-r4/image/etc/init.d: ntpd
Did you delete these files before? try 'emerge --noconfmem ntp' in portage-2.0.47-r3 when I put it out shortly. Or try 2.0.47-r2 with the same option.
umm, i think the user emerged ntp for the first time ... not sure though ...
With portage 2.0.47-r3, the two config files got installed - both with emerge --noconfmem and simply with emerge. (I had installed ntp for the first time, and before each test, did emerge -C and moved the two config files out of the way.)
old. fixed.