Hi,

Sorry for the double post, I posted this message before subscribing to 
the list. Then resend the message when I was registered as it did not 
appear directly on the list.


Indeed when the monitoring is configured the message of the post-install 
scripts are logged to si_monitor.log.

But not to syslog, which is still the thing I want :)
The fact is that we want to see those errors in case the bootstrap did 
not succeed.


One of the things i'm currently trying is to modify the chroot command 
when running the post-install script in that way it will send all output 
to logmsg function.
This works but I loose the shellout won't be called, "set -o pipefail" 
could solve this but doesn't work in the BOEL.

Greetings Johan



Bernard Li wrote:
> Hi Johan:
>
> On Wed, Jul 8, 2009 at 6:32 AM, Johan Huysmans<[email protected]> 
> wrote:
>
>   
>> I'm currently using the 4.0.2 systemimager on CentOS5.
>>
>> I've created several post-install scripts but there is no logging of the
>> messages and errors in these post-install scripts.
>> The messages appear on the screen, but they do not appear in the logging
>> through syslog, which I'm using.
>>
>>
>> Is there a way so I can see which messages are printed and which errors
>> occur in the post-install scripts?
>> This should be very helpfull.
>>     
>
> Not sure about syslog, but if you setup logging via si_monitor, the
> messages should show up:
>
> http://wiki.systemimager.org/index.php/Monitoring
>
> P.S. Not sure why but your post appeared to have been posted twice.
>
> Cheers,
>
> Bernard
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> sisuite-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>   

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to