Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24836 - saslauthd failed to start after install
Summary: saslauthd failed to start after install
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-19 16:49 UTC by Matthias F. Brandstetter (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias F. Brandstetter (RETIRED) gentoo-dev 2003-07-19 16:49:17 UTC
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
Comment 1 Nick Hadaway 2003-07-20 03:37:02 UTC
The 2.1.14 ebuild contains...

dodir /usr/lib/sasl2

This should create the directory you are referring to.

Comment 2 Nick Hadaway 2003-07-21 01:08:07 UTC
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?
Comment 3 Matthias F. Brandstetter (RETIRED) gentoo-dev 2003-07-21 01:45:46 UTC
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" 
Comment 4 Nick Hadaway 2003-07-22 23:29:28 UTC
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. :)
Comment 5 Arturas lajus 2004-02-13 06:46:08 UTC
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