Hi,

On SunOS 5.8 server, when I try to kept some commands promise, it seems that 
timeout makes some noise ...

Sometimes it works :
cf3  -> cf3     Promise handle:
cf3  -> cf3     Promise made by: /usr/bin/date
cf3  -> cf3     .........................................................
cf3  -> cf3
cf3  -> cf3  -> Executing '/usr/bin/date' ...(timeout=-678,owner=-1,group=-1)
cf3  -> cf3  -> (Setting umask to 77)
cf3  -> cf3 cf3: Time out
cf3  -> cf3  -> Finished script - succeeded /usr/bin/date
cf3  -> cf3 Q: "...r/bin/date": Tue Aug  3 14:18:48 MEST 2010
cf3  -> cf3 I: Last 1 QUOTEed lines were generated by promiser "/usr/bin/date"
cf3  -> cf3 I: Report relates to a promise with handle ""
cf3  -> cf3  -> Completed execution of /usr/bin/date

Sometimes, it does not:
cf3  -> cf3  -> Executing '/usr/bin/date' ...(timeout=-678,owner=-1,group=-1)
cf3  -> cf3  -> (Setting umask to 77)
cf3  -> cf3 Time out of process 28084
cf3  -> cf3 Command pipe /usr/bin/date
cf3  -> cf3  !!! System reports error for ferror: "Interrupted system call"
cf3  -> cf3 I: Report relates to a promise with handle ""
cf3  -> cf3 Received signal 2 (SIGINT) while doing 
[lock.remote_promises.commands.._usr_bin_date_4554_MD5=631414a70ed7f29173d7a8e95695a492]
cf3  -> cf3 Logical start time Tue Aug  3 14:23:09 2010
cf3  -> cf3 This sub-task started really at Tue Aug  3 14:23:12 2010
cf3  -> cf3 Trying to remove lock - try 
lock.remote_promises.commands.._usr_bin_date_4554_MD5=631414a70ed7f29173d7a8e95695a492

and I've got some defunct process on the server:
        27911 /var/cfengine/bin/cf-agent -v --inform -DCF_RA_ADMIN
          27921 <defunct>

Here is the simple bundle agent :
        bundle agent remote_promises
        {

        commands:
          CF_RA_ADMIN::
        "/usr/bin/date";

        }

Could you help?

Gildas


________________________________

Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage 
exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant 
?tre assur?e sur Internet, la responsabilit? du groupe Atos Origin ne pourra 
?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne 
saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos Origin group liability cannot be triggered 
for the message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to