[ https://issues.apache.org/jira/browse/MESOS-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962129#comment-13962129 ]
Ian Downes commented on MESOS-1195: ----------------------------------- The reasoning behind not supporting multiple subsystems mounted together was so different Isolators could take ownership of hierarchies and not stomp on each other. However, cpu and cpuacct are so closely related that they are generally used together (hence systemd's layout) and indeed the CgroupsCpuIsolator uses both. It can readily be updated to support this configuration. > Systemd : cgroups fails on co-mounted subsystem > ----------------------------------------------- > > Key: MESOS-1195 > URL: https://issues.apache.org/jira/browse/MESOS-1195 > Project: Mesos > Issue Type: Bug > Components: containerization > Affects Versions: 0.18.0 > Reporter: Timothy St. Clair > > When attempting to configure mesos to use systemd slices on a 'rawhide/f21' > machine, it fails creating the isolator: > I0407 12:39:28.035354 14916 containerizer.cpp:180] Using isolation: > cgroups/cpu,cgroups/mem > Failed to create a containerizer: Could not create isolator cgroups/cpu: > Failed to create isolator: The cpu subsystem is co-mounted at > /sys/fs/cgroup/cpu with other subsytems > ------ details ------ > /sys/fs/cgroup > total 0 > drwxr-xr-x. 12 root root 280 Mar 18 08:47 . > drwxr-xr-x. 6 root root 0 Mar 18 08:47 .. > drwxr-xr-x. 2 root root 0 Mar 18 08:47 blkio > lrwxrwxrwx. 1 root root 11 Mar 18 08:47 cpu -> cpu,cpuacct > lrwxrwxrwx. 1 root root 11 Mar 18 08:47 cpuacct -> cpu,cpuacct > drwxr-xr-x. 2 root root 0 Mar 18 08:47 cpu,cpuacct > drwxr-xr-x. 2 root root 0 Mar 18 08:47 cpuset > drwxr-xr-x. 2 root root 0 Mar 18 08:47 devices > drwxr-xr-x. 2 root root 0 Mar 18 08:47 freezer > drwxr-xr-x. 2 root root 0 Mar 18 08:47 hugetlb > drwxr-xr-x. 3 root root 0 Apr 3 11:26 memory > drwxr-xr-x. 2 root root 0 Mar 18 08:47 net_cls > drwxr-xr-x. 2 root root 0 Mar 18 08:47 perf_event > drwxr-xr-x. 4 root root 0 Mar 18 08:47 systemd -- This message was sent by Atlassian JIRA (v6.2#6252)