Package: sasl2-bin
Version: 2.1.22-0~pre05

when upgrade to this version of sasl2-bin, the saslauthd service wont
start because there's a typo at line 31 of the init.d script:

Setting up sasl2-bin (2.1.22-0~pre05) ...
/etc/init.d/saslauthd: line 31: text: command not found

see below the line 30-31.

# Exit if the daemon is not installed
text -x "$DAEMON" || exit 0

where must be test instead of text.

also at line 51.

if [ -z $MECHANISMS ]; then

the $MECHANISMS variable should be enclosed by quotation mark, ("),
because in some cases we want more than 1 mechanism defined, and having
more than 1 into this variable, give "too many arguments" error.


and the last thing i notice is that, the RUN_DIR variable or PIDFILE
wasn't taken in consideration, the daemon keeps wanting to write
into /var/run/saslauth instead of /var/run/saslauthd.

/etc/init.d/saslauthd start
Starting SASL Authentication Daemon:
saslauthdsaslauthd[12264] :main            : could not chdir
to: /var/run/saslauth
saslauthd[12264] :main            : chdir: No such file or directory
saslauthd[12264] :main            : Check to make sure the directory
exists and is
saslauthd[12264] :main            : writeable by the user this process
runs as.
 failed!

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to