gnu: elogind: Use itself as the cgroup controller.
authorLudovic Courtès <ludo@gnu.org>
Thu, 7 Sep 2017 21:59:51 +0000 (23:59 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 7 Sep 2017 22:11:21 +0000 (00:11 +0200)
commitcd1ad27e6cdf90230d07efc18a8fcfe45494aad0
tree967b4a872c8b3279a35ed6584028709f1ca94cf4
parentcf42428a4a3c182f9d99bebaba868ef47d88c3e2
gnu: elogind: Use itself as the cgroup controller.

Fixes a regression introduced in
fa67d5654176b4b815832eaf259188e1486c65ab whereby elogind would fail to
start with:

  Cannot determine cgroup we are running in: No data available
  Out of memory.

thereby preventing log-in altogether.

* gnu/packages/freedesktop.scm (elogind)[arguments]: Pass
"--with-cgroup-controller=elogind".
* gnu/tests/desktop.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
gnu/local.mk
gnu/packages/freedesktop.scm
gnu/tests/desktop.scm [new file with mode: 0644]