From 27407a01c6c115ed09ad938ab95dcb56ab963ba9 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 2 Oct 2012 10:58:31 +0200 Subject: nspawn: use automatic cleanup and provide debug info The documentation for --link-journal is also reworded. --- man/systemd-nspawn.xml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'man/systemd-nspawn.xml') diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 1688687948..71ce0aca43 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -248,31 +248,30 @@ host, guest, auto. If - no the journal is - not linked. If host + no, the journal is + not linked. If host, the journal files are stored on the - host file system (beneath the host's - /var/log/journal) - and a per-machine subdirectory of this - directory is created and bind mounted + host file system (beneath + /var/log/journal/<machine-id>) + and the subdirectory is bind-mounted into the container at the same - location. If guest + location. If guest, the journal files are stored on the - guest file system (beneath the guest's - /var/log/journal) - and a per-machine subdirectory of this - directory is symlinked into the host + guest file system (beneath + /var/log/journal/<machine-id>) + and the subdirectory is symlinked into the host at the same location. If - auto (the default) - and the subdirectory of + auto (the default), + and the right subdirectory of /var/log/journal - exists as directory it is bind mounted - into the container, but nothing is - done otherwise. Effectively, booting a - container once with + exists, it will be bind mounted + into the container. If the + subdirectory doesn't exist, no + linking is performed. Effectively, + booting a container once with guest or host will link the - journal persistently if further one + journal persistently if further on the default of auto is used. -- cgit v1.2.3-54-g00ecf