When I or another service tries to start autdaemond an error message thrown: * You need an /etc/courier-imap/authdaemonrc file to run authdaemon But authdeamonrc is not in /etc/courier-imap, but in /etc/courier/authlib. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: $ /etc/init.d/authdaemond start * You need an /etc/courier-imap/authdaemonrc file to run authdaemon Expected Results: authdaemonrc should have started. $ emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -pipe -Os -fomit-frame-pointer -fno-stack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -pipe -Os -fomit-frame-pointer -fno-stack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr http://gentoo.tiscali.nl/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm bash-completion berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gd gdbm gif gpm hardened imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python readline sasl sdl slang spell ssl tcpd tiff truetype truetype-fonts type1-fonts unicode xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
You are not supposed to use that one at all. Do 'rc-update del authdaemond' and then remove that initscript. It has been replaced by /etc/init.d/courier-authlib a long time ago. Please, read the ebuild instructions carefully next time.
Hmm, okay... But the reason I tried to start it was because some other services failed to start and I thought this was the culprit. For example, I tried to start courier-imap-ssl and the following error was thrown: $ /etc/init.d/courier-imapd-ssl start * Caching service dependencies ... [ ok ] * Starting courier-authlib: authdaemond ... [ !! ] * ERROR: Problem starting needed services. * "courier-imapd-ssl" was not started. Hence, I thought authdeamond could not be started by courier-authlib? Any chance this may resolve itself by re-emerging courier-authlib?
i have the same problem as u do Nes. reemerging did nothing. this is problem of starting courier-authlib (that provide authdaemond) see #98745
.