/etc/init.d/courier-imap contains 'need net authdaemond' in it's depend(). I start the courier-imap service when authdaemond is not running, and it does NOT start authdaemond. If I then start authdaemond, and stop it again, it DOES stop courier-imap. Having authdaemond in the runlevel has NO affect at all. Because authdaemond does not start before courier-imap, you CANNOT log into courier-imap. The identical code 'use net authdaemond' works in older baselayouts. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/courier-imapd stop; /etc/init.d/authdaemond stop; 2. /etc/init.d/courier-imapd start 3. /etc/init.d/authdaemond start 4. /etc/init.d/authdaemond stop Actual Results: curie-int root # /etc/init.d/courier-imapd stop; /etc/init.d/authdaemond stop; * ERROR: "courier-imapd" has not yet been started. * ERROR: "authdaemond" has not yet been started. curie-int root # /etc/init.d/courier-imapd start * Starting courier-imapd... [ ok ] curie-int root # /etc/init.d/authdaemond start * Starting authdaemond.plain... [ ok ] curie-int root # /etc/init.d/authdaemond stop * Stopping courier-imapd... [ ok ] * Stopping authdaemond.plain... [ ok ] Expected Results: Authdaemond should be started before courier-imap always. curie-int root # emerge info Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-pfeifer-r1_pre7 i686 AMD Duron(tm) processor GENTOO_MIRRORS=" ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.ed u/pub/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/te xmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/mnt/portage-nfs/distfiles" PKGDIR="/mnt/portage-nfs/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg mikmod mmx motif mpeg ncur ses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile rub y mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde opengl gphoto2 ldap snmp cdr scanner 3dfx acl acpi acpi4linux activefilte r apache2 canna cjk curl dga dnd doc dvb dvd emacs ethereal evms2 evo expat fbco n flash freetds gamma gb gd gnomedb gps gtkhtml hbci i8x0 imap innodb ipv6 jikes junit ladcca lcms leim libgda lirc maildir matrox mcal mozaccess mozcalendar mo zilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpi mule nptl oav odbc ofx pcap pcmcia pda pic plotutils pnp radeon rage128 samba sasl sis slp socks5 tiff trust ed ungif usb vim-with-x voodoo3 vscan wavelan wmf Xaw3d xface xfs xinerama xml x osd -libg++ glut" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=i586 -mcpu=athlon -O3 -pipe" CXXFLAGS="-march=i586 -mcpu=athlon -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j8" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox buildpkg ccache userpriv usersandbox digest" curie-int root # emerge -p baselayout portage courier-imap These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-apps/baselayout-1.8.6.7 [ebuild R ] sys-apps/portage-2.0.48_pre6 [ebuild R ] net-mail/courier-imap-1.7.2
On my laptop, since baselayout-1.8.6.7, net.eth0 starts (and fails) before pcmcia is started. # emerge info Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20 i686 Celeron (Coppermine) GENTOO_MIRRORS=" http://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://212. 219.56.152/sites/www.ibiblio.org/gentoo/ http://ftp.tu-clausthal.de/pub/linux/ge ntoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.linux.no/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 alsa apache2 avi berkdb crypt dga esd gd gdbm gif gphoto2 gtk gtk2 imap imlib java jpeg ldap libwww mmx mozilla mpeg mysql ncurses nocardbus oggvorbis pam pcmcia pdflib png pnp readline samba sdl slang sse ssl tiff truetype usb wmf X xml xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://granit.grumly.info/gentoo-portage/" FEATURES="ccache sandbox distcc userpriv usersandbox"
Known issue, already fixed in CVS .. just have to get time to look through my list of todo, and release a bugfix version.
Hi azarah, I think this bug isn't fixed. A '-' (hyphen) in the service name also causes an error at 'declare -F'. Regards,
Actually talking about the net.eth0 and pcmcia issue ....
Should be fixed in 1.8.6.8, please test when out in a bit.
With 1.8.6.8, net.lo and net.eth0 appear in /var/lib/init.d/started but their start functions don't seem to be called by runscript :-( There's no ebegin trace at all for net.lo and net.eth0.
Same here. Newly added line (/lib/rcscripts/sh/rc-services.sh, Line 36) should be: myservice="${myservice//-/_}" All my dependencies works fine! Thanks,
Yeah I saw that. Anyhow, -r1 fixes this.
Fixed verified in -r1. It works much better now.
Closing, I guess