Mailinglist Archive: yast-devel (73 mails)

< Previous Next >
Re: [yast-devel] use ALog::Item - use SCR?
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Fri, 08 Aug 2008 13:06:46 +0200
  • Message-id: <489C28C6.1010900@xxxxxxx>
Michal Svec wrote:

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.

See also this thread:

# From: "Alexey Eremenko" <al4321@xxxxxxxxx>
# Date: Tue, 29 Jul 2008 14:57:24 +0000
# [opensuse] Yast as a Linux learning tool
http://lists.opensuse.org/opensuse/2008-07/msg02571.html

L.

< Previous Next >
Follow Ups