public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* audit without python?
@ 2011-10-25 17:12 Jason
  2011-10-25 17:23 ` Steve Grubb
  0 siblings, 1 reply; 6+ messages in thread
From: Jason @ 2011-10-25 17:12 UTC (permalink / raw)
  To: linux-audit

Is it possible to compile and use audit without needing python?  If so, how?

Jason

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: audit without python?
  2011-10-25 17:12 audit without python? Jason
@ 2011-10-25 17:23 ` Steve Grubb
  2011-10-25 17:31   ` Nathaniel Husted
  2011-10-25 17:51   ` Jason
  0 siblings, 2 replies; 6+ messages in thread
From: Steve Grubb @ 2011-10-25 17:23 UTC (permalink / raw)
  To: linux-audit; +Cc: Jason

On Tuesday, October 25, 2011 01:12:52 PM Jason wrote:
> Is it possible to compile and use audit without needing python?  If so,
> how?

I've never considered compiling without python because its so pervasive. You can't 
really have a functioning system without it inless its an appliance. And would you 
want an appliance doing compiles? 

You can certainly separate it out after compile in the packaging portion so that 
installing it doesn't drag python in. I suppose the configure and Makefiles can be fixed 
so it does not make python bindings.

-Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: audit without python?
  2011-10-25 17:23 ` Steve Grubb
@ 2011-10-25 17:31   ` Nathaniel Husted
  2011-10-25 17:51   ` Jason
  1 sibling, 0 replies; 6+ messages in thread
From: Nathaniel Husted @ 2011-10-25 17:31 UTC (permalink / raw)
  To: linux-audit

I've hacked together the Makefiles so that audisp does not compile
with Python, but I wouldn't necessarily advise it. My reasons were
primarily to enable audisp to be compiled under Android with limited
functionality (only the AF_Unix socket available).

Cheers,
Nathaniel

On Tue, Oct 25, 2011 at 1:23 PM, Steve Grubb <sgrubb@redhat.com> wrote:
> On Tuesday, October 25, 2011 01:12:52 PM Jason wrote:
>> Is it possible to compile and use audit without needing python?  If so,
>> how?
>
> I've never considered compiling without python because its so pervasive. You can't
> really have a functioning system without it inless its an appliance. And would you
> want an appliance doing compiles?
>
> You can certainly separate it out after compile in the packaging portion so that
> installing it doesn't drag python in. I suppose the configure and Makefiles can be fixed
> so it does not make python bindings.
>
> -Steve
>
> --
> Linux-audit mailing list
> Linux-audit@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-audit
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: audit without python?
  2011-10-25 17:23 ` Steve Grubb
  2011-10-25 17:31   ` Nathaniel Husted
@ 2011-10-25 17:51   ` Jason
  2011-10-25 18:09     ` Steve Grubb
  1 sibling, 1 reply; 6+ messages in thread
From: Jason @ 2011-10-25 17:51 UTC (permalink / raw)
  Cc: linux-audit

Thanks for your reply Steve.  Our plan then is to install python on our 
development platform and compile audit with python support so we don't 
have to hack Makefiles.  Then we will install audit on our network 
appliance which does not have python.  Do you foresee any issues with 
doing it this way?  What functionality do we lose by not including python?

Jason

On 10/25/2011 11:23 AM, Steve Grubb wrote:
> On Tuesday, October 25, 2011 01:12:52 PM Jason wrote:
>> Is it possible to compile and use audit without needing python?  If so,
>> how?
> I've never considered compiling without python because its so pervasive. You can't
> really have a functioning system without it inless its an appliance. And would you
> want an appliance doing compiles?
>
> You can certainly separate it out after compile in the packaging portion so that
> installing it doesn't drag python in. I suppose the configure and Makefiles can be fixed
> so it does not make python bindings.
>
> -Steve
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: audit without python?
  2011-10-25 17:51   ` Jason
@ 2011-10-25 18:09     ` Steve Grubb
  2011-10-25 18:36       ` Steve Grubb
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Grubb @ 2011-10-25 18:09 UTC (permalink / raw)
  To: linux-audit; +Cc: Jason

On Tuesday, October 25, 2011 01:51:09 PM Jason wrote:
> Thanks for your reply Steve.  Our plan then is to install python on our
> development platform and compile audit with python support so we don't
> have to hack Makefiles.

I almost am done with hacking the makefiles. Just need to fix one thing in auparse/test 
and I'll put it in svn.

> Then we will install audit on our network appliance which does not have python.  Do
> you foresee any issues with doing it this way?  What functionality do we lose by not 
including python?

semanage, I think the selinux troubleshooter, and the audit log viewer are the only 
things I know of that uses the python bindings.

-Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: audit without python?
  2011-10-25 18:09     ` Steve Grubb
@ 2011-10-25 18:36       ` Steve Grubb
  0 siblings, 0 replies; 6+ messages in thread
From: Steve Grubb @ 2011-10-25 18:36 UTC (permalink / raw)
  To: linux-audit; +Cc: Jason

On Tuesday, October 25, 2011 02:09:43 PM Steve Grubb wrote:
> On Tuesday, October 25, 2011 01:51:09 PM Jason wrote:
> > Thanks for your reply Steve.  Our plan then is to install python on our
> > development platform and compile audit with python support so we don't
> > have to hack Makefiles.
> 
> I almost am done with hacking the makefiles. Just need to fix one thing in
> auparse/test and I'll put it in svn.

This should do it:
https://fedorahosted.org/audit/changeset/592

Add --with-python=no  to your configure line.

-Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-25 18:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-25 17:12 audit without python? Jason
2011-10-25 17:23 ` Steve Grubb
2011-10-25 17:31   ` Nathaniel Husted
2011-10-25 17:51   ` Jason
2011-10-25 18:09     ` Steve Grubb
2011-10-25 18:36       ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox