X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-nspawn.xml;h=f63f72c18d80b70cbf7f6b0caed00344051fea1c;hb=771faa9ae64dbc373a36db9108c20dea325bd5d8;hp=8b37519ad5510c1e87aa659cb621c32e4a59e2d0;hpb=a41fe3a29372f8e6c4e7733bf85940a023811301;p=elogind.git diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 8b37519ad..f63f72c18 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -8,16 +8,16 @@ Copyright 2010 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> @@ -69,11 +69,12 @@ to various kernel interfaces in the container to read-only, such as /sys, /proc/sys or - /selinux. Network interfaces and - the system clock may not be changed from within the - container. Device nodes may not be created. The host - system cannot be rebooted and kernel modules may not - be loaded from within the container. + /sys/fs/selinux. Network + interfaces and the system clock may not be changed + from within the container. Device nodes may not be + created. The host system cannot be rebooted and kernel + modules may not be loaded from within the + container. Note that even though these security precautions are taken systemd-nspawn is not @@ -131,7 +132,7 @@ - + Directory to use as file system root for the namespace @@ -142,7 +143,7 @@ - + Run the command under specified user, create home @@ -154,7 +155,17 @@ - + + + + Makes the container appear in + other hierarchies that the name=systemd:/ one. + Takes a comma-separated list of controllers. + + + + + Turn off networking in the container. This makes all network @@ -184,7 +195,7 @@ Example 2 # mock --init -# systemd-nspawn -D /var/lib/mock/fedora-rawhide-x86_64/root/ /bin/systemd systemd.log_level=debug +# systemd-nspawn -D /var/lib/mock/fedora-rawhide-x86_64/root/ /sbin/init systemd.log_level=debug This installs a minimal Fedora distribution into a subdirectory of /var/lib/mock/ @@ -206,7 +217,7 @@ systemd1, chroot1, - debootstrap8 + debootstrap8, mock1