<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/build/accounts.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-06-05T21:10:37Z</updated>
<entry>
<title>accounts: Call 'fdatasync' when writing databases.</title>
<updated>2019-06-05T21:10:37Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-05T09:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d088d5c4848f08bd62e722789132f9345659c52c'/>
<id>urn:sha1:d088d5c4848f08bd62e722789132f9345659c52c</id>
<content type='text'>
* gnu/build/accounts.scm (catch-ENOSYS): New macro.
(database-writer): Call 'fdatasync'.
</content>
</entry>
<entry>
<title>accounts: Close database before renaming it.</title>
<updated>2019-06-05T21:10:37Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-05T09:12:21Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ed8570dce3683b73bdf668b3ad0f529a1cea30c5'/>
<id>urn:sha1:ed8570dce3683b73bdf668b3ad0f529a1cea30c5</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35996&gt;.
Reported by Florian Pelz &lt;pelzflorian@pelzflorian.de&gt;.

* gnu/build/accounts.scm (database-writer): Move 'close-port' call
before 'rename-file'.
</content>
</entry>
<entry>
<title>activation: Lock /etc/.pwd.lock before accessing databases.</title>
<updated>2019-06-05T21:10:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-03T15:14:17Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d497b6ab397273cd250003b6266f22ad74f4c20d'/>
<id>urn:sha1:d497b6ab397273cd250003b6266f22ad74f4c20d</id>
<content type='text'>
Suggested by Florian Pelz &lt;pelzflorian@pelzflorian.de&gt;
in &lt;http://bugs.gnu.org/35996&gt;.

* 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'.
</content>
</entry>
<entry>
<title>accounts: Always honor the configured user account shell.</title>
<updated>2019-04-26T12:19:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-26T08:19:56Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=504a0fc636ec591e65b4a229a37e522e425d8a0c'/>
<id>urn:sha1:504a0fc636ec591e65b4a229a37e522e425d8a0c</id>
<content type='text'>
Starting from commit 0ae735bcc8ff7fdc89d67b492bdee9091ee19e86, Guix
System would preserve the user shell across reconfigure and reboot.
This was done so as to allow for the use of 'chsh'.

This proved to be a misguided decision.  This commit goes back to
considering user shells as config and not "state."

* gnu/build/accounts.scm (allocate-passwd): Do not use shell from
PREVIOUS.
</content>
</entry>
<entry>
<title>Add (gnu build accounts).</title>
<updated>2019-03-07T19:05:09Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-03T17:42:37Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ec600e4544729f1aaf46fa5162bba334515d0de5'/>
<id>urn:sha1:ec600e4544729f1aaf46fa5162bba334515d0de5</id>
<content type='text'>
* gnu/build/accounts.scm, tests/accounts.scm: New files.
* Makefile.am (SCM_TESTS): Add tests/accounts.scm.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add build/accounts.scm.
</content>
</entry>
</feed>
