After emerging cyrus-sasl-2.1.14 the saslauthd failed to start with the following error msg: allrounder courier-imap # /etc/init.d/saslauthd start * Starting saslauthd... saslauthd[14264] :main : could not chdir to: /var/lib/sasl2 saslauthd[14264] :main : chdir: No such file or directory saslauthd[14264] :main : Check to make sure the directory exists and is saslauthd[14264] :main : writeable by the user this process runs as. [ !! ] Reproducible: Always Steps to Reproduce: Expected Results: The solution is to mkdir /var/lib/sasl2
The 2.1.14 ebuild contains... dodir /usr/lib/sasl2 This should create the directory you are referring to.
oops my mistake... not /usr/lib/sasl2... dodir /var/lib/sasl2 anyway... it's still there in the ebuild and I have tested it on multiple system. It creates the directory just fine. Can you paste the output of "emerge info" into this bug?
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes) GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" 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 foomaticdb mad mmx ncurses slang zlib gdbm readline tcpd pam perl python php ssl sasl libwww clamav ethereal imap lids maildir mysql -oss -3dnow -apm -arts -avi -crypt -cups -encode -gif -gpm -gtk -imlib -java -jpeg -kde -gnome -libg++ -mikmod -motif -mpeg -nls -oggvorbis -opengl -pdflib -png -qt -quicktime -sdl -spell -svga -truetype -X -xml2 -xmms -xv -berkdb" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O2 -pipe" CXXFLAGS="-march=pentium2 -O2 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I cannot recreate this bug... The ebuild contains the correct code to deal with this situation as well. I'm glad it's working besides that little install snafu though. :)
same for me... rasnet conf.d # /etc/init.d/saslauthd start * Starting saslauthd... saslauthd[31902] :main : could not chdir to: /var/lib/sasl2 saslauthd[31902] :main : chdir: No such file or directory saslauthd[31902] :main : Check to make sure the directory exists and is saslauthd[31902] :main : writeable by the user this process r [ !! ] rasnet conf.d # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25_pre6-gss) ================================================================= System uname: 2.4.25_pre6-gss i686 Pentium II (Deschutes) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ ftp://gentoo.linux.no/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://ktl.kauko.lt/gentoo-portage" USE="berkdb crypt encode fam fastcgi foomaticdb gd gdbm gif gtk2 imap imlib java jpeg libg++ libwww maildir mmx mysql ncurses nls pam perl png python readline samba sasl slang spell ssl tcpd truetype unicode x86 xml2 zlib" rasnet conf.d # emerge cyrus-sasl -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/cyrus-sasl-2.1.14 +berkdb +gdbm +java -kerberos -ldap +mysql +pam +ssl -static 0 kB