<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - RHEL 6: systemd can't run in containers"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90517">90517</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>RHEL 6: systemd can't run in containers
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gk@axiros.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Hi
we love systemd and are making our apps dependent on it.
Problem:
- Default OS of our customers is RHEL 6.
- systemd depends on /sys/fs/cgroup interface but its not present there:
# ls /sys/fs/
ext4
# cat /proc/cgroups
#subsys_name hierarchy num_cgroups enabled
cpuset 1 6 1
ns 0 1 1
cpu 2 6 1
cpuacct 3 6 1
memory 4 6 1
devices 5 6 1
freezer 6 6 1
net_cls 7 2 1
blkio 8 6 1
perf_event 0 1 1
net_prio 0 1 1
# ls /cgroup
blkio cpu cpuacct cpuset devices freezer memory net_cls
# uname -r
2.6.32-504.el6.x86_64
One can't mount it into the countainer at the expected place, since /sys/fs/ is
not writeable to create a mountpoint.
Output e.g. for docker (but lxc has same problem):
# docker run -ti --privileged -e "container=docker" debian:jessie /sbin/init
-> Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory
----
=> Any possibility to have systemd be not dependent on /sys/fs/cgroup but only
on /proc and/or /cgroup ?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>