X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-nspawn.xml;h=75db65eac02340edd554d427c6dad2b2aea5ed66;hp=22f2df47280a7a50eda27afe6219e6de40b269db;hb=3543f8218b732132dff6d0dccb2ce357e4154801;hpb=1db8c66f2e500272cb5582f9087b8e2a123aee10 diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 22f2df472..75db65eac 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -106,7 +106,7 @@ yum8, debootstrap8, or - pacman8 + pacman8 to set up an OS directory tree suitable as file system hierarchy for systemd-nspawn containers. @@ -439,7 +439,9 @@ versa). Takes one of no, host, + try-host, guest, + try-guest, auto. If no, the journal is not linked. If host, @@ -453,8 +455,11 @@ 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), + at the same location. try-host + and try-guest do the same + but do not fail if the host does not have + persistant journalling enabled. + If auto (the default), and the right subdirectory of /var/log/journal exists, it will be bind mounted @@ -473,7 +478,7 @@ Equivalent to - . + . @@ -751,13 +756,13 @@ This runs a copy of the host system in a btrfs snapshot. - - - Run a container with SELinux sandbox security contexts + + Run a container with SELinux sandbox security contexts - # chcon system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -R /srv/container + # chcon system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -R /srv/container # systemd-nspawn -L system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -Z system_u:system_r:svirt_lxc_net_t:s0:c0,c1 -D /srv/container /bin/sh + @@ -774,7 +779,7 @@ chroot1, yum8, debootstrap8, - pacman8, + pacman8, systemd.slice5, machinectl1