X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.texi;h=987c36ea83cc5bd10cd5819d72a916e6d9fc8ca0;hp=d585fb8bc424f29e51c1966fa37fcfb5145d694a;hb=7c359313aca273319f94fe18121831ab4b62a4b4;hpb=a0baeddb8aa745007d0302ed06247cabb8facb32 diff --git a/doc/tinc.texi b/doc/tinc.texi index d585fb8b..987c36ea 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -2012,10 +2012,14 @@ located (@file{@value{sysconfdir}/tinc/@var{netname}/} as determined by The chroot is performed after all the initialization is done, after writing pid files and opening network sockets. -Note that this option alone does not do any good without -U/--user, below. - -Note also that tinc can't run scripts anymore (such as tinc-down or host-up), -unless it's setup to be runnable inside chroot environment. +This option is best used in combination with the -U/--user option described below. + +You will need to ensure the chroot environment contains all the files necessary +for tinc to run correctly. +Most importantly, for tinc to be able to resolve hostnames inside the chroot environment, +you must copy @file{/etc/resolv.conf} into the chroot directory. +If you want to be able to run scripts other than @file{tinc-up} in the chroot, +you must ensure the appropriate shell is also installed in the chroot, along with all its dependencies. This option is not supported on all platforms. @item -U, --user=@var{user}