[chef] RE: How to run a custom binary in a control_group


Chronological Thread 
  • From: "Rajakulasingam, Anushan" < >
  • To: Nilesh Korade < >, " " < >
  • Subject: [chef] RE: How to run a custom binary in a control_group
  • Date: Tue, 15 Sep 2015 19:26:49 +0000
  • Accept-language: en-US

Maybe you could create a normal recipe that runs the binary then output the exitcode to a file (/tmp/exitcodefile) and have the audit recipe check the file contents of /tmp/exitcodefile to ensure it returns 0

 

But yeah not sure how to do it solely within an audit recipeā€¦

 

 

 

From: Nilesh Korade [mailto:
Sent: Tuesday, September 15, 2015 12:51 PM
To:
Subject: [chef] How to run a custom binary in a control_group

 

Hi All

 

As part of our audit recipe, we need to run one of our own binaries and ensure it returns '0'. Is there a way we could do that as a part of control_group? I didn't find any examples or documentation of how it can be done as part of control_group.

 

Thank you in advance for any help.

 

Thanks

Neelesh

 




Archive powered by MHonArc 2.6.16.

§