diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-03 17:14:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-05 23:10:36 +0200 |
commit | d497b6ab397273cd250003b6266f22ad74f4c20d (patch) | |
tree | b70dda99dd7f9558d0c2ee40ac0369f2c5248a64 /m4 | |
parent | 5f0cf1df710cca3eeff6b41ce8e665fb911cfb41 (diff) | |
download | guix-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