cvm-qmail exits with error level 4

"David J. Weller-Fahy" <[email protected]> Mon, 17 Apr 2006 04:00:41 -0700
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
I'm having a bit of trouble using cvm-qmail.  I had it functioning
running freebsd (5.4 and 6.0), but can't seem to get it working under
Debian testing.  Unfortunately I no longer have the Freebsd boxes, so I
cannot use those to troubleshoot.  Oh, the debian system is running on a
VPS server using xen.

Here are the versions I'm running on the debian box:
runit                       1.4.1-1
cvm                         0.76-2+b1
bglibs-dev                  1.031-1

Those are the debian packaged versions.  I have also installed
bglibs-1.041[1] and cm 0.76[2] manually, with the same results.

[1]: http://untroubled.org/bglibs/bglibs-1.041.tar.gz
[2]: http://untroubled.org/cvm/cvm-0.76.tar.gz

My run file for cvm-unix follows (that service is running perfectly):
#v+
#!/bin/sh
# cvm-unix/run
exec 2>&1

CVM_P=$(which cvm-unix) || sv down $(pwd)
CVM_S=/tmp/.$(basename $CVM_P)

exec chpst -m2000000 $CVM_P cvm-local:$CVM_S
#v-

My run file for cvm-qmail follows (which doesn't stay up):
#v+
#!/bin/sh
# cvm-qmail/run
exec 2>&1

CVM_P=$(which cvm-qmail) || sv down $(pwd)
CVM_S=/tmp/.$(basename $CVM_P)

exec $CVM_P cvm-local:$CVM_S
#v-

Here is the test I tried:
#v+
dave@tigger:/var/service/cvm-qmail$ sudo /usr/bin/cvm-testclient cvm-command:/usr/bin/cvm-qmail dave weller-fahy.com
cvm-testclient: Fatal: Authentication failed, error #4 (Input/Output error)
dave@tigger:/var/service/cvm-qmail$ echo $?
4
#v-

I tried that with both the debian packaged and installed from source
cvm-qmail, with the same result.

I'm unsure where to go from here to troubleshoot this and get it
working.

I would appreciate any suggestions on how to get this working, and will
provide any further information that I've left out (since I'm sure I've
missed something).

Regards,
-- 
dave [ please don't CC me ]