After emerging leafnode-2.0.0_alpha20040206, leafnode is looking for the config file in /etc/ instead of /etc/leafnode/ Reproducible: Always Steps to Reproduce: 1. emerge "=leafnode-2.0.0_alpha20040206" 2. leafnode 3. Actual Results: # leafnode 503 Server misconfiguration: cannot read configuration file. # tail /var/log/messages Feb 27 13:37:05 vincent leafnode[17556]: cannot open /etc/config: No such file or directory Feb 27 13:37:05 vincent leafnode[17556]: 503 Server misconfiguration: cannot read configuration file. Expected Results: leafnode should be looking for the config file in /etc/leafnode/config Workaround: Specify the config file on the command line. I'm using xinetd, so I added "server_args = -F /etc/leafnode/config" to /etc/xinetd.d/leafnode-nntp. Aditionaly, during the emerge the folowing files were (wrongly) installed into /etc/: >>> /etc/config.example >>> /etc/filters.example Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040117-r0, 2.6.3) ================================================================= System uname: 2.6.3 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -msse -mmmx -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -msse -mmmx -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://kandinsky.6mil.pt/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo cdr crypt cups dv dvd encode foomaticdb gdbm gif gphoto2 gpm gstreamer guile imlib java jpeg kde ldap libg++ libwww linguas_pt mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres pt pt_PT python qt quicktime radeon readline samba sdl slang spell sse ssl svga tcpd tiff truetype x86 xml2 xv zlib"
You must add "--sysconfdir=/etc/leafnode" to econf() (see below for my suggested src_compile()). - local myconf - - # ------------------------------------------------------ - # Enabling IPv6. - # ------------------------------------------------------ - # If this was misdetected, then run either - # env cf_cv_ipv6=no /bin/sh ./configure YOUR_OPTIONS - # or - # env cf_cv_ipv6=yes /bin/sh ./configure YOUR_OPTIONS - # (of course, you need to replace YOUR_OPTIONS) - # ------------------------------------------------------ - - use ipv6 && myconf="--with-ipv6" || export cf_cv_ipv6=no econf \ + `use_enable ipv6 IPv6` \ + --sysconfdir=/etc/leafnode \ + --enable-runas-user=news \ + --enable-spooldir=/var/spool/news || die "econf failed" - --with-runas-user=news --with-spooldir="/var/spool/news" \ - ${myconf} || die "./configure failed"
punting these to you, Thomas, since you have some history with this package.
I just added leafnode-2.0.0_alpha20040513 to portage. This should fix this issue. Thanks for reporting.