This is really an error with canna, but it affects the gentoo init script for canna. If cannaserver fails to start, it does not set a proper return code. I workaround this by changing /usr/sbin/cannaserver ${CANNASERVER_OPTS} eend $? "Failed to start canna" to /usr/sbin/cannaserver ${CANNASERVER_OPTS} 2>&1 | grep ERROR > /dev/null if [ $? -eq 0 ] then eend 1 "Failed to start canna" fi which detects the string ERROR in output of cannaserver (pretty bad hack) The best thing would be for cannaserver to set error code on failure. [However the canna site is entirely in Japanese, and my Japanese is not good enough to do anything ... ]
Created attachment 12690 [details] canna-3.6_p3-r2.ebuild
Created attachment 12691 [details] canna-3.6_p3-r2-gentoo.diff
I asked one of the canna developer about the problem and then he fixed it immediately. So I made a patch for Gentoo canna-3.6_p3-r1 according to the fix in canna CVS repository.
I added new ebuild as canna-3.6_p3-r2.ebuild. Thanks!