[Kolab-devel] [issue877] /etc/init.d/kolab does not work correctly

Richard Bos kolab-issues at intevation.de
Fri Aug 12 22:35:33 CEST 2005


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

I wonder why 'exec' is being used to launch /kolab/etc/rc in the 
/etc/init.d/kolab script?  The problem with it at the moment is, 
that programs being programmed to start after the line with exec 
are not started... 
 
I encounter this problem with a kolab/fetchmail combination.... 
Where fetchmail is started after /kolab/etc/rc has finished. 
 
Would it be a problem to leave out the exec line and just launch 
it without exec?  After all when the same command is given on the 
command line, as proposed by kolab_bootstrap, it is executed without 
exec too... 
 
 
The problem can be emulated with: 
----8<----8<----8<----8<----8<----8< 
exec echo test 
echo this line is not echoed 
----8<----8<----8<----8<----8<----8< 
put the above in file and execute it, the result is just 'test' .... 
 
Please, find attached a updated /etc/init.d/kolab script.  The change is 
that it looks for its filename and from that deduct whether kolab should 
be started or stopped.  It is not for general use yet, as the fetchmail is 
being started from it as well.  Perhaps fetchmail should be switch on 
and off with a variable?

----------
files: kolab
messages: 5252
nosy: rbos
status: unread
title: /etc/init.d/kolab does not work correctly
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue877>
________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolab
Type: application/octet-stream
Size: 635 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20050812/40fe6020/attachment.obj>


More information about the devel mailing list