···162162 If the command detaches, it must close stdout, as `execute` will wait
163163 for this to consume all output reliably. This can be achieved by
164164 redirecting stdout to stderr `>&2`, to `/dev/console`, `/dev/null` or
165165- a file.
165165+ a file. Examples of detaching commands are `sleep 365d &`, where the
166166+ shell forks a new process that can write to stdout and `xclip -i`, where
167167+ the `xclip` command itself forks without closing stdout.
166168 Takes an optional parameter `check_return` that defaults to `True`.
167169 Setting this parameter to `False` will not check for the return code
168170 and return -1 instead. This can be used for commands that shut down
···183185184186 - Dereferencing unset variables fail the command.
185187186186- - It will wait for stdout to be closed. See `execute`.
188188+ - It will wait for stdout to be closed. See `execute` for the
189189+ implications.
187190188191`fail`
189192
···271271 for this to consume all output reliably. This can be achieved
272272 by redirecting stdout to stderr <literal>>&2</literal>,
273273 to <literal>/dev/console</literal>,
274274- <literal>/dev/null</literal> or a file. Takes an optional
275275- parameter <literal>check_return</literal> that defaults to
274274+ <literal>/dev/null</literal> or a file. Examples of detaching
275275+ commands are <literal>sleep 365d &</literal>, where the
276276+ shell forks a new process that can write to stdout and
277277+ <literal>xclip -i</literal>, where the
278278+ <literal>xclip</literal> command itself forks without closing
279279+ stdout. Takes an optional parameter
280280+ <literal>check_return</literal> that defaults to
276281 <literal>True</literal>. Setting this parameter to
277282 <literal>False</literal> will not check for the return code
278283 and return -1 instead. This can be used for commands that shut
···314319 <listitem>
315320 <para>
316321 It will wait for stdout to be closed. See
317317- <literal>execute</literal>.
322322+ <literal>execute</literal> for the implications.
318323 </para>
319324 </listitem>
320325 </itemizedlist>
···450450 <para>
451451 The NixOS VM test framework,
452452 <literal>pkgs.nixosTest</literal>/<literal>make-test-python.nix</literal>,
453453- now requires non-terminating commands such as
454454- <literal>succeed("foo &")</literal> to close
455455- stdout. This can be done with a redirect such as
453453+ now requires detaching commands such as
454454+ <literal>succeed("foo &")</literal> and
455455+ <literal>succeed("foo | xclip -i")</literal> to
456456+ close stdout. This can be done with a redirect such as
456457 <literal>succeed("foo >&2 &")</literal>.
457458 This breaking change was necessitated by a race condition
458459 causing tests to fail or hang. It applies to all methods that
···18571858 </para>
18581859 </listitem>
18591860 </itemizedlist>
18611861+ </listitem>
18621862+ <listitem>
18631863+ <para>
18641864+ <literal>security.pam.services.<name>.makeHomeDir</literal>
18651865+ now uses <literal>umask=0077</literal> instead of
18661866+ <literal>umask=0022</literal> when creating the home
18671867+ directory.
18681868+ </para>
18601869 </listitem>
18611870 </itemizedlist>
18621871 </section>
+3-1
nixos/doc/manual/release-notes/rl-2111.section.md
···133133134134## Backward Incompatibilities {#sec-release-21.11-incompatibilities}
135135136136-- The NixOS VM test framework, `pkgs.nixosTest`/`make-test-python.nix`, now requires non-terminating commands such as `succeed("foo &")` to close stdout.
136136+- The NixOS VM test framework, `pkgs.nixosTest`/`make-test-python.nix`, now requires detaching commands such as `succeed("foo &")` and `succeed("foo | xclip -i")` to close stdout.
137137 This can be done with a redirect such as `succeed("foo >&2 &")`. This breaking change was necessitated by a race condition causing tests to fail or hang.
138138 It applies to all methods that invoke commands on the nodes, including `execute`, `succeed`, `fail`, `wait_until_succeeds`, `wait_until_fails`.
139139···516516 - The `services.unifi.dataDir` option is removed and the data is now always located under `/var/lib/unifi/data`. This is done to make better use of systemd state direcotiry and thus making the service restart more reliable.
517517 - The unifi logs can now be found under: `/var/log/unifi` instead of `/var/lib/unifi/logs`.
518518 - The unifi run directory can now be found under: `/run/unifi` instead of `/var/lib/unifi/run`.
519519+520520+- `security.pam.services.<name>.makeHomeDir` now uses `umask=0077` instead of `umask=0022` when creating the home directory.
···280280 null;
281281 example = "gnome";
282282 description = ''
283283- Graphical session to pre-select in the session chooser (only effective for GDM and LightDM).
283283+ Graphical session to pre-select in the session chooser (only effective for GDM, LightDM and SDDM).
284284285285 On GDM, LightDM and SDDM, it will also be used as a session for auto-login.
286286 '';
···11-WGET_ARGS=( https://download.kde.org/stable/plasma/5.23.1/ -A '*.tar.xz' )
11+WGET_ARGS=( https://download.kde.org/stable/plasma/5.23.2/ -A '*.tar.xz' )