chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddeb424
)
nspawn: only warn about audit when booting the container
author
Dave Reisner
<dreisner@archlinux.org>
Fri, 10 May 2013 12:59:00 +0000
(08:59 -0400)
committer
Dave Reisner
<dreisner@archlinux.org>
Fri, 10 May 2013 12:59:00 +0000
(08:59 -0400)
The audit subsystem isn't relevant when nspawn is only being used as a
chroot.
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index 95d76eb3c3f51bed2a9f6d472e62ce8d8a3f1d13..32cfe05dcd409f353a0f924b827ac78687298933 100644
(file)
--- 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 (a
rg_boot && a
udit_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");