On 03/26/2013 04:03 PM, Joe Wulf wrote:
On hosts that do not have a requirement for perl, or python (i.e.
compliant with the minimal-build concept) .... how would that
remediation action occur were it coded in perl/python (or other
language/tool)? I believe it is reasonable to assume bash and coreutils
will be there (please correct me if I am wrong) for a minimal build.
You're right. In that case remediation would not be possible.
What I was trying to say is that you can start implementing things in
whatever language suits you the best. And get the first implementation
done quickly. That bash content can be added later if indeed needed.
If you have multiple fix elements for the given Rule, OpenSCAP can
choose the best fitting one. That decision process is based also on the
existence of interpreter binary.
R,
-Joe
------------------------------------------------------------------------
*From:* Simon Lukasik <slukasik(a)redhat.com>
**
Regarding the selection of fix languages, I don't think that you need to
use the only one language exclusively. If some goal is easier to achieve
with python than in bash, go for it. OpenSCAP will handle it correctly.
Python fix will not be issued unless the python interpreter is
available.
--
Simon Lukasik
Security Technologies