nixpkgs-suyu/nixos/doc/manual/release-notes
Domen Kožar a6670c1a0b Fixes #18124: atomically replace /var/setuid-wrappers/ (#18186)
Before this commit updating /var/setuid-wrappers/ folder introduced
a small window where NixOS activation scripts could be terminated
and resulted into empty /var/setuid-wrappers/ folder.

That's very unfortunate because one might lose sudo binary.

Instead we use two atomic operations mv and ln (as described in
https://axialcorps.com/2013/07/03/atomically-replacing-files-and-directories/)
to achieve atomicity.

Since /var/setuid-wrappers is not a directory anymore, tmpfs mountpoints
were removed in installation scripts and in boot process.

Tested:

- upgrade /var/setuid-wrappers/ from folder to a symlink
- make sure /run/setuid-wrappers-dirs/ legacy symlink is really deleted
2016-09-01 20:57:51 +02:00
..
release-notes.xml PXE boot: add manual section and note in changelog 2016-04-29 10:42:45 +01:00
rl-1310.xml Move release notes to an appendix and a separate chunk 2015-07-22 16:21:32 +02:00
rl-1404.xml Move release notes to an appendix and a separate chunk 2015-07-22 16:21:32 +02:00
rl-1412.xml Move release notes to an appendix and a separate chunk 2015-07-22 16:21:32 +02:00
rl-1509.xml rl-1509.xml: Gnome -> GNOME 2015-10-01 12:53:27 +02:00
rl-1603.xml modules/mkRemovedOptionModule: add replacement doc 2016-05-29 00:42:08 +02:00
rl-1609.xml Fixes #18124: atomically replace /var/setuid-wrappers/ (#18186) 2016-09-01 20:57:51 +02:00