}
/*
- * Return true if all of the controllers which we require have been
- * found. The required list is systemd, freezer, and anything in
- * lxc.cgroup.use.
+ * Return true if all of the controllers which we require have been found.
+ * The required list is freezer and anything in * lxc.cgroup.use.
*/
static bool all_controllers_found(void)
{
char *p, *saveptr = NULL;
struct hierarchy ** hlist = hierarchies;
- if (!controller_found(hlist, "name=systemd")) {
- ERROR("no systemd controller mountpoint found");
- return false;
- }
if (!controller_found(hlist, "freezer")) {
ERROR("no freezer controller mountpoint found");
return false;
/*
* Return true if this is a subsystem which we cannot do
- * without
+ * without.
+ *
+ * systemd is questionable here. The way callers currently
+ * use this, if systemd is not mounted then it will be ignored.
+ * But if systemd is mounted, then it must be setup so that lxc
+ * can create cgroups in it, else containers will fail.
*/
bool is_crucial_cgroup_subsystem(const char *s)
{