Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 21600
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Masatomo Nakano (RETIRED) <nakano@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vadim Berezniker <kryptolus@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
canna-3.6_p3-r2.ebuild canna-3.6_p3-r2.ebuild text/plain Mamoru KOMACHI (RETIRED) 2003-06-02 11:18 0000 1.79 KB Details
canna-3.6_p3-r2-gentoo.diff canna-3.6_p3-r2-gentoo.diff text/plain Mamoru KOMACHI (RETIRED) 2003-06-02 11:19 0000 9.33 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 21600 depends on: Show dependency tree
Bug 21600 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-05-24 06:07 0000
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 ... ]

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2003-06-02 11:18:33 0000 -------
Created an attachment (id=12690) [details]
canna-3.6_p3-r2.ebuild

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2003-06-02 11:19:26 0000 -------
Created an attachment (id=12691) [details]
canna-3.6_p3-r2-gentoo.diff

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2003-06-02 11:30:27 0000 -------
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.

------- Comment #4 From Masatomo Nakano (RETIRED) 2003-06-06 10:37:52 0000 -------
I added new ebuild as canna-3.6_p3-r2.ebuild.
Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug