[Kolab-devel] [issue1045] kolab_ca crashes when run for a 2nd time

Richard Bos kolab-issues at intevation.de
Fri Dec 23 20:40:52 CET 2005


New submission from Richard Bos <radoeka at xs4all.nl>:

When I run kolab_bootstrap for a 2nd time, it crashes..., with:   
   
+ case $1 in   
+ '[' '!' -f /usr/tmp/kolab/ca/serial ']'   
+ '[' '!' -f /usr/tmp/kolab/ca/private/cakey.pem ']'   
+ shift   
+ '[' 1 -gt 0 ']'   
+ case $1 in   
+ echo 'Unknown arg '   
Unknown arg   
+ exit 1   
   
It is not completely like this, as this is the edited output (set +x) from   
kolab_ca.sh  This is with kolab_ca.sh from cvs, although is one is not   
different that the one that comes with 2.0   
   
I run kolab_ca.sh as follows: 'kolab_ca.sh -newca linux.site' as this is done   
by kolab_bootstrap as well.  Now if I extend the code with    
<       while [ -n "$2" ]; do   
<          shift   
<       done   
   
All is fine.  The patch is attached including some autoconfiscation cleanup.   
Shall I commit?   
   
I actually don't no why this shows up, as I used to run  kolab_bootstrap-2.0   
quite often and no problems.  I discovered the above bug on suse (without   
openpkg).  I can repeat the bug on openpkg (kolab-2.0) though.

----------
assignedto: steffen
files: kolabd.kolab_ca.patch
messages: 6141
nosy: bernhard, martin, mhuewe, rbos, steffen
priority: bug
status: unread
title: kolab_ca crashes when run for a 2nd time
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1045>
________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolabd.kolab_ca.patch
Type: application/octet-stream
Size: 1110 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20051223/cb80a9df/attachment.obj>


More information about the devel mailing list