public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Compiling rules at boot when using systemd
@ 2013-05-22 23:06 Laurent Bigonville
  2013-06-23 21:21 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Bigonville @ 2013-05-22 23:06 UTC (permalink / raw)
  To: linux-audit

Hello,

I was wondering, the currently proposed solution to compile the rules
when using systemd (copying the .services into /etc by hand) seems
pretty hackish to me. Wouldn't it be better if there was a 2nd systemd
.service file dedicated to call augenrules, disabled by default and
depending against the main auditd.service file?

This way the user could enable that new service instead of copying
files by hand. This sounds better in distribution-wise and in cases
changes are made to the .service file, the user will not be stuck with
an old version in /etc.

Any idea on this?

Cheers

Laurent Bigonville

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

* Re: Compiling rules at boot when using systemd
  2013-05-22 23:06 Compiling rules at boot when using systemd Laurent Bigonville
@ 2013-06-23 21:21 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2013-06-23 21:21 UTC (permalink / raw)
  To: linux-audit

On Thursday, May 23, 2013 01:06:48 AM Laurent Bigonville wrote:
> Hello,
> 
> I was wondering, the currently proposed solution to compile the rules
> when using systemd (copying the .services into /etc by hand) seems
> pretty hackish to me. Wouldn't it be better if there was a 2nd systemd
> .service file dedicated to call augenrules, disabled by default and
> depending against the main auditd.service file?
> 
> This way the user could enable that new service instead of copying
> files by hand. This sounds better in distribution-wise and in cases
> changes are made to the .service file, the user will not be stuck with
> an old version in /etc.
> 
> Any idea on this?

Not sure yet what the best approach is. Normally when restarting the audit 
daemon you would get the latest rules loaded into the kernel. By separating 
them, you wouldn't get that any more. 

-Steve

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

end of thread, other threads:[~2013-06-23 21:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-22 23:06 Compiling rules at boot when using systemd Laurent Bigonville
2013-06-23 21:21 ` Steve Grubb

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