diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-11-06 18:01:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-06 18:01:01 +0000 |
commit | eeb7e66e975d623aacfb95a450237192fd200e30 (patch) | |
tree | b6905b92ac4a4e49e703721cbadeac2ce8da9a23 /nixos/doc/manual/from_md | |
parent | 89ec09c85893fa1c9169aa14509e19e697871f20 (diff) | |
parent | d63d3250f4ead4753181d00b5c8a6f4a5e3c6f07 (diff) | |
download | nixpkgs-eeb7e66e975d623aacfb95a450237192fd200e30.tar nixpkgs-eeb7e66e975d623aacfb95a450237192fd200e30.tar.gz nixpkgs-eeb7e66e975d623aacfb95a450237192fd200e30.tar.bz2 nixpkgs-eeb7e66e975d623aacfb95a450237192fd200e30.tar.lz nixpkgs-eeb7e66e975d623aacfb95a450237192fd200e30.tar.xz nixpkgs-eeb7e66e975d623aacfb95a450237192fd200e30.tar.zst nixpkgs-eeb7e66e975d623aacfb95a450237192fd200e30.zip |
Merge master into staging-next
Diffstat (limited to 'nixos/doc/manual/from_md')
-rw-r--r-- | nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml | 11 | ||||
-rw-r--r-- | nixos/doc/manual/from_md/release-notes/rl-2111.section.xml | 15 |
2 files changed, 20 insertions, 6 deletions
diff --git a/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml b/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml index e0fd90f2bac..0d523681b63 100644 --- a/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml +++ b/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml @@ -271,8 +271,13 @@ start_all() for this to consume all output reliably. This can be achieved by redirecting stdout to stderr <literal>>&2</literal>, to <literal>/dev/console</literal>, - <literal>/dev/null</literal> or a file. Takes an optional - parameter <literal>check_return</literal> that defaults to + <literal>/dev/null</literal> or a file. Examples of detaching + commands are <literal>sleep 365d &</literal>, where the + shell forks a new process that can write to stdout and + <literal>xclip -i</literal>, where the + <literal>xclip</literal> command itself forks without closing + stdout. Takes an optional parameter + <literal>check_return</literal> that defaults to <literal>True</literal>. Setting this parameter to <literal>False</literal> will not check for the return code and return -1 instead. This can be used for commands that shut @@ -314,7 +319,7 @@ start_all() <listitem> <para> It will wait for stdout to be closed. See - <literal>execute</literal>. + <literal>execute</literal> for the implications. </para> </listitem> </itemizedlist> diff --git a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml index 52b57596d54..eb14b22b22d 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml @@ -450,9 +450,10 @@ <para> The NixOS VM test framework, <literal>pkgs.nixosTest</literal>/<literal>make-test-python.nix</literal>, - now requires non-terminating commands such as - <literal>succeed("foo &")</literal> to close - stdout. This can be done with a redirect such as + now requires detaching commands such as + <literal>succeed("foo &")</literal> and + <literal>succeed("foo | xclip -i")</literal> to + close stdout. This can be done with a redirect such as <literal>succeed("foo >&2 &")</literal>. This breaking change was necessitated by a race condition causing tests to fail or hang. It applies to all methods that @@ -1858,6 +1859,14 @@ Superuser created successfully. </listitem> </itemizedlist> </listitem> + <listitem> + <para> + <literal>security.pam.services.<name>.makeHomeDir</literal> + now uses <literal>umask=0077</literal> instead of + <literal>umask=0022</literal> when creating the home + directory. + </para> + </listitem> </itemizedlist> </section> </section> |