summary refs log tree commit diff
path: root/m4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-06-03 17:14:17 +0200
committerLudovic Courtès <ludo@gnu.org>2019-06-05 23:10:36 +0200
commitd497b6ab397273cd250003b6266f22ad74f4c20d (patch)
treeb70dda99dd7f9558d0c2ee40ac0369f2c5248a64 /m4
parent5f0cf1df710cca3eeff6b41ce8e665fb911cfb41 (diff)
downloadguix-d497b6ab397273cd250003b6266f22ad74f4c20d.tar.gz
activation: Lock /etc/.pwd.lock before accessing databases.
Suggested by Florian Pelz <pelzflorian@pelzflorian.de>
in <http://bugs.gnu.org/35996>.

* gnu/build/accounts.scm (%password-lock-file): New variable.
* gnu/build/activation.scm (activate-users+groups): Wrap calls to
'user+group-databases', 'write-group', etc. into 'with-file-lock'.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions