On Thu, 7 Aug 2008, Martin Vidner wrote:
On Wed, Aug 06, 2008 at 10:33:01PM +0200, Michal Svec wrote:
Can't we get this information from SCR, without calling explicitely some functions (which is going to be error prone)?
For instance the example above could be generated from SCR (layer), one would (more or less :) only need .path -> file/function translation to create such a log.
SCR could do it if that was a reuqirement from early on, but I am afraid that it is not quite suited for this use at this point. In other words, it would be rather "much more" than "less" I think.
Sure, this was just an idea.
Anyway, we can see how that would look like from watching what goes through SCR: Y2DEBUG=1 (or [Debug] scr=true in log.conf), then egrep -A3 'executeSubagentCommand: (Write|Execute)' y2log
It actually looks somehow similar (up to slight syntax differences) to what you suggested, see the attached output from one run of the yast2 security module. Michal