The ebuild of ntp-4.1.1b-r5 doesn't create the file /etc/ntp.conf, so ntpupdate can't work. To make it work I created a symlink on /etc/conf.d/ntpd
the info after emerging explicitly says there is an example ntp.conf in /usr/share/ntp that needs edited and added to /etc
No it doesn't. There's no mention that the sample config file needs to be copied to /etc: ewarn "You can find an example /etc/ntp.conf in /usr/share/ntp/" ewarn "Review /etc/ntp.conf to setup server info." ewarn "Review /etc/conf.d/ntpd to setup init.d info." The information in pkg_postinst needs to be more explicit.
sorry i assumed that the user could kind of figure out what to do with the files: ewarn "You can find an example /etc/ntp.conf in /usr/share/ntp/" i mean yeah it doesnt say 'you can find an ntp.conf file in /usr/share/ntp. please copy it to /etc' ... but you know ?
i'd suggest having the ebuild do this: insinto /usr/share/ntp doins ${FILESDIR}/ntp.conf if [ ! -e /etc/ntp.conf ] ; then insinto /etc doins ${FILESDIR}/ntp.conf fi the reason i didnt have the ebuild always insinto /etc is that ntp.conf is heavily changed during runtime and whenever a new version was merged the differences were very stark ... i ended up with a lot of users not knowing what to do with the .conf file and then filing bugs because they're werent able to handle it :P
actually i lied, i'm not going to add this to the ebuild if you run ntpd w/out /etc/ntp.conf it says this: eerror "Please create /etc/ntp.conf" eerror "Sample conf: /usr/share/ntp/ntp.conf" if the user cannot figure out what to do from that message then ... well i just dont know what to say ;)