[systemd-commits] src/nspawn
Dave Reisner
dreisner at kemper.freedesktop.org
Fri May 10 05:59:35 PDT 2013
src/nspawn/nspawn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c2384970ff604e6341879bc965305b84533cdebf
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri May 10 08:59:00 2013 -0400
nspawn: only warn about audit when booting the container
The audit subsystem isn't relevant when nspawn is only being used as a
chroot.
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 95d76eb..32cfe05 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -1296,7 +1296,7 @@ int main(int argc, char *argv[]) {
goto finish;
}
- if (audit_enabled()) {
+ if (arg_boot && audit_enabled()) {
log_warning("The kernel auditing subsystem is known to be incompatible with containers.\n"
"Please make sure to turn off auditing with 'audit=0' on the kernel command\n"
"line before using systemd-nspawn. Sleeping for 5s...\n");
More information about the systemd-commits
mailing list