mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/tinc: disable chroot by default
This commit is contained in:
parent
37bd69672d
commit
c819ee9b67
1 changed files with 2 additions and 2 deletions
|
@ -289,13 +289,13 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
chroot = mkOption {
|
chroot = mkOption {
|
||||||
default = true;
|
default = false;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = ''
|
description = ''
|
||||||
Change process root directory to the directory where the config file is located (/etc/tinc/netname/), for added security.
|
Change process root directory to the directory where the config file is located (/etc/tinc/netname/), for added security.
|
||||||
The chroot is performed after all the initialization is done, after writing pid files and opening network sockets.
|
The chroot is performed after all the initialization is done, after writing pid files and opening network sockets.
|
||||||
|
|
||||||
Note that tinc can't run scripts anymore (such as tinc-down or host-up), unless it is setup to be runnable inside chroot environment.
|
Note that this currently breaks dns resolution and tinc can't run scripts anymore (such as tinc-down or host-up), unless it is setup to be runnable inside chroot environment.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue