[PATCH] selftest: Disable full audit logging in selftest
Jeremy Allison
jra at samba.org
Tue Jul 12 21:25:24 UTC 2016
On Mon, Jul 11, 2016 at 11:44:53AM -0700, Christof Schmitt wrote:
> From 24144695ee043a714565786f4aa4b3284b6119ed Mon Sep 17 00:00:00 2001
> From: Christof Schmitt <cs at samba.org>
> Date: Mon, 11 Jul 2016 10:49:34 -0700
> Subject: [PATCH] selftest: Disable full audit logging in selftest
>
> Commit 6eba42f activated the full_audit and time_audit modules for the
> simpleserver config to trigger the check that all VFS functions are
> implemented in these two modules. This resulted in all operations being
> logged to syslog during a test run.
>
> Change the full_audit configuration to keep loading the modules, but not
> log anything from full_audit to not slow down the test or spam the logs.
LGTM. Pushed !
> Signed-off-by: Christof Schmitt <cs at samba.org>
> ---
> selftest/target/Samba3.pm | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
> index 61ec986..a7d34df 100755
> --- a/selftest/target/Samba3.pm
> +++ b/selftest/target/Samba3.pm
> @@ -553,6 +553,10 @@ sub setup_simpleserver($$)
> vfs objects = xattr_tdb streams_depot time_audit full_audit
> change notify = no
>
> + full_audit:syslog = no
> + full_audit:success = none
> + full_audit:failure = none
> +
> [vfs_aio_fork]
> path = $prefix_abs/share
> vfs objects = aio_fork
> --
> 1.8.3.1
>
More information about the samba-technical
mailing list