<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 - systemd-escape && systemd-nspawn"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89765">89765</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd-escape && systemd-nspawn
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </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>disarmer.mk@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi!

Recently i moved my arch system to nspawn container. Now, i can't find out my
process cgroup inside container:

% systemctl --user show -p ControlGroup tmux.service
ControlGroup=/system.slice/system-systemd\x5cx2dnspawn.slice/<a href="mailto:systemd-nspawn@grey.service">systemd-nspawn@grey.service</a>/user.slice/user-1000.slice/<a href="mailto:user@1000.service">user@1000.service</a>/tmux.service

% systemd-escape --unescape $(systemctl --user show -p ControlGroup
tmux.service)
ControlGroup=/system.slice/system/systemd\x2dnspawn.slice/systemd/<a href="mailto:nspawn@grey.service">nspawn@grey.service</a>/user.slice/user/1000.slice/<a href="mailto:user@1000.service">user@1000.service</a>/tmux.service

But actually nspawn.slice is located in
/sys/fs/cgroup/systemd/system.slice/system-systemd\x2dnspawn.slice


systemd-cgls shows:
├─system.slice
...
│ └─system-systemd\x2dnspawn.slice
│   └─<a href="mailto:systemd-nspawn@grey.service">systemd-nspawn@grey.service</a>


% systemctl --version
systemd 218
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP
+GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN</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>