summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicoo <nicoo@mur.at>2023-10-22 19:08:06 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-26 18:58:00 +0000
commit3f7b1a8758822505e09b5a33230eef117e84ee5b (patch)
tree77ad6c938b1cd59c2e87cd4b605818da4e58e751
parentnixos/sudo-rs: Simplify activation (diff)
downloadnixpkgs-3f7b1a8758822505e09b5a33230eef117e84ee5b.tar.gz
nixos/release-notes: Document pitfall when switching to sudo-rs
(cherry picked from commit c1b5226cd49c931361a570e25575559d7982b223)
-rw-r--r--nixos/doc/manual/release-notes/rl-2311.section.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md
index c493bece8d20..640e46e861a2 100644
--- a/nixos/doc/manual/release-notes/rl-2311.section.md
+++ b/nixos/doc/manual/release-notes/rl-2311.section.md
@@ -28,6 +28,10 @@
- `root` and `wheel` are not given the ability to set (or preserve)
arbitrary environment variables.
+ **Note:** The `sudo-rs` module only takes configuration through `security.sudo-rs`,
+ and in particular does not automatically use previously-set rules; this could be
+ achieved with `security.sudo-rs.extraRules = security.sudo.extraRules;` for instance.
+
[`sudo-rs`]: https://github.com/memorysafety/sudo-rs/
- [glibc](https://www.gnu.org/software/libc/) has been updated from version 2.37 to 2.38, see [the release notes](https://sourceware.org/glibc/wiki/Release/2.38) for what was changed.