Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16034 - ntp does not install /etc/init.d/ntpd, /etc/conf.d/ntpd
Summary: ntp does not install /etc/init.d/ntpd, /etc/conf.d/ntpd
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 16:06 UTC by Oliver Schoett
Modified: 2011-10-30 22:21 UTC (History)
2 users (show)

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


Attachments
Log file from "emerge ntp" (emerge-ntp.log.gz,11.32 KB, application/gzip)
2003-02-20 15:41 UTC, Oliver Schoett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Schoett 2003-02-19 16:06:23 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-02-19 22:05:50 UTC
where there any errors on merge ? if not this is a portage bug ;) 
Comment 2 Oliver Schoett 2003-02-20 15:41:03 UTC
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.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-02-21 03:55:27 UTC
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/




Comment 4 SpanKY gentoo-dev 2003-02-21 09:41:32 UTC
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 
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2003-02-22 08:15:10 UTC
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.
Comment 6 SpanKY gentoo-dev 2003-02-22 15:45:13 UTC
umm, i think the user emerged ntp for the first time ... not sure though ... 
Comment 7 Oliver Schoett 2003-02-23 10:26:56 UTC
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.)
Comment 8 Nicholas Jones (RETIRED) gentoo-dev 2003-07-16 02:20:02 UTC
old. fixed.