services: Create /var/log/wtmp upon activation.
authorLudovic Courtès <ludo@gnu.org>
Mon, 23 Jan 2017 23:45:11 +0000 (00:45 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 23 Jan 2017 23:46:37 +0000 (00:46 +0100)
commit2986995b85e76f12741fcdda8dd0e1a636620dec
treee7d55a20163edad515c6fbd199cddc17a8287ee9
parent3483f004a98f103acff96effe1309cc620372e79
services: Create /var/log/wtmp upon activation.

This fixes a bug whereby /var/log/wtmp would never be created, and thus
accounting information would be lost.

* gnu/services.scm (activation-script): Create /var/log/wtmp.
* gnu/tests/base.scm (run-basic-test)["wtmp entry"]: New test.
gnu/services.scm
gnu/tests/base.scm