summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-06-29 11:14:20 +0200
committerSven Eden <yamakuzure@gmx.net>2017-06-29 11:24:50 +0200
commitdaa9b80cd2a7d07c174ba5ee952bb6a995131260 (patch)
tree262deda8ad23eb8ee776bcfade331d2c3288193d /README
parent55d5b3b81648d8e0470b01b48d7a568f6792014f (diff)
Prep v231.3: Add --with-cgroup-controller=name to configure
This option can be used, if elogind is built while a different cgroup controller than planned is active. A valid scenario could be a gentoo user switching from systemd to openrc+elogind.
Diffstat (limited to 'README')
-rw-r--r--README26
1 files changed, 26 insertions, 0 deletions
diff --git a/README b/README
index 3d323cfb6..dabcacb6f 100644
--- a/README
+++ b/README
@@ -116,6 +116,32 @@ flag.
The PAM module is called pam_elogind.so, not pam_systemd.so.
+Elogind and the running cgroup controller
+-----------------------------------------
+While 'configure' runs, it will detect which controller is in place.
+If no controller is in place, configure will determine, that elogind
+should be its own controller, which will be a very limited one.
+
+This approach shoudl generally work, but if you just have no cgroup
+controller in place, yet, or if you are currently switching to
+another one, this approach will fail.
+
+In this case you can do one of the two following things:
+
+ 1) Boot your system with the target init system and cgroup
+ controller, before configuring and building elogind, or
+ 2) Use the --with-cgroup-controller=name option.
+
+Example: If you plan to use openrc, but openrc has not yet booted
+ the machine, you can use
+ --with-cgroup-controller=openrc
+ to let elogind know that openrc will be the controller
+ in charge.
+
+However, if you set the controller at configure time to something
+different than is in place, elogind will not start until that
+controller is actively used as the primary controller.
+
License
-------