Am Montag, 20. März 2006 13:32 schrieb Bernhard Reiter:
> Using OpenPKG 2.5
> I had two cases where failures
> to start have not been recorded in the log,
> nor OpenPKG spit out an error.
>
> a) cyrmaster did not start because of hitting a 2 GibiByte limit
> in the master logfile
>     /kolab/bin/cyrmaster &
>     echo $! >$imapd_pidfile
>
> In this case it seems that the echo command exit code will be transfered
> and the cyrmaster exit code is lost.
> If so, this looks like a bad bug.

I completely missed that sending the command in the background will
obviously hand out an exit code of "0". :(

It seems the problem is that fsl and imapd both do not seem to have support 
for large files on 32 bit systems. So cyrmaster cannot get out an error 
message.
Maybe using "cyrmaster -d" instead of "cyrmaster &" would enable an exit code
and thus be slightly better. I propose this change to rc.imapd.

I also wonder if any error output to /tmp/rc-xxxxx/rc.err
could at least cause it to be logged somewhere and not thrown away
by /kolab/etc/rc .


Ralf: Can you confirm that fsl 1.6.1 does not have large file support and will 
barf on >2Gibibyte logfiles?

Bernhard

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to