summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2022-02-17 22:07:05 +0100
committerChristian Kögler <ck3d@gmx.de>2022-02-19 09:52:37 +0100
commit57fc08cfdbd1a3a59f26416814dc10f8379d6e67 (patch)
treeb8c5823f2cb78efa4956bb37c6c83281ef242053 /nixos/doc
parenta67c25d5f665674aeb462c36d80fed0f0557e3a7 (diff)
downloadnixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.gz
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.bz2
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.lz
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.xz
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.zst
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.zip
nixos: Switch to default systemd-nspawn behaviour
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2205.section.xml9
-rw-r--r--nixos/doc/manual/release-notes/rl-2205.section.md1
2 files changed, 10 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
index c234cda499f..ab37b9f7961 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
@@ -544,6 +544,15 @@
       </listitem>
       <listitem>
         <para>
+          <literal>systemd-nspawn@.service</literal> settings have been
+          reverted to the default systemd behaviour. User namespaces are
+          now activated by default. If you want to keep running nspawn
+          containers without user namespaces you need to set
+          <literal>systemd.nspawn.&lt;name&gt;.execConfig.PrivateUsers = false</literal>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
           The terraform 0.12 compatibility has been removed and the
           <literal>terraform.withPlugins</literal> and
           <literal>terraform-providers.mkProvider</literal>
diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md
index 567a6d6780a..61b924f9967 100644
--- a/nixos/doc/manual/release-notes/rl-2205.section.md
+++ b/nixos/doc/manual/release-notes/rl-2205.section.md
@@ -174,6 +174,7 @@ In addition to numerous new and upgraded packages, this release has the followin
 
 - MultiMC has been replaced with the fork PolyMC due to upstream developers being hostile to 3rd party package maintainers. PolyMC removes all MultiMC branding and is aimed at providing proper 3rd party packages like the one contained in Nixpkgs. This change affects the data folder where game instances and other save and configuration files are stored. Users with existing installations should rename `~/.local/share/multimc` to `~/.local/share/polymc`. The main config file's path has also moved from `~/.local/share/multimc/multimc.cfg` to `~/.local/share/polymc/polymc.cfg`.
 
+- `systemd-nspawn@.service` settings have been reverted to the default systemd behaviour. User namespaces are now activated by default. If you want to keep running nspawn containers without user namespaces you need to set `systemd.nspawn.<name>.execConfig.PrivateUsers = false`
 
 - The terraform 0.12 compatibility has been removed and the `terraform.withPlugins` and `terraform-providers.mkProvider` implementations simplified. Providers now need to be stored under
 `$out/libexec/terraform-providers/<registry>/<owner>/<name>/<version>/<os>_<arch>/terraform-provider-<name>_v<version>` (which mkProvider does).