<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 - Failed at step CGROUP spawning /usr/lib/systemd/systemd"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89145">89145</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Failed at step CGROUP spawning /usr/lib/systemd/systemd
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>dh.herrmann@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I occasionally see this:
  "Failed at step CGROUP spawning /usr/lib/systemd/systemd: No such file or
directory"

I cannot reproduce this reliably, so I haven't been able to figure out what
exactly is going wrong. I'll try to add some debug-statements, but so far this
is the only information I have:

 - It fails in src/core/execute.c, in exec_child()
 - I only see it on `systemd --user`
 - It only happens for user 'gdm'
 - I suspect it's related to cgroup-delegation (line ~1500), as it only fails
for `systemd --user`

I don't have much insight in systemd CGROUP handling, so if anyone has ideas
where do start debugging, let me know. I'll try to strace PID1 and trigger the
bug, but I haven't succeeded so far.

Thanks
David



Sat 2015-02-14 15:09:50.522160 CET
[s=31993b48a4114763b7f3465695087218;i=10a4c;b=6f35b05bd0c247a58fb97a9befd3e954;m=dd43258;t=50f0ce809a20b;x=a2e3c5b3ea64e49b]
    _UID=0
    _GID=0
    _MACHINE_ID=XXX
    _HOSTNAME=XXX
    SYSLOG_FACILITY=3
    SYSLOG_IDENTIFIER=systemd
    _TRANSPORT=journal
    _CAP_EFFECTIVE=3fffffffff
    _SYSTEMD_CGROUP=/
    PRIORITY=3
    _COMM=(systemd)
    CODE_FILE=src/core/execute.c
    CODE_LINE=1894
    CODE_FUNCTION=exec_spawn
    <a href="mailto:USER_UNIT=user@120.service">USER_UNIT=user@120.service</a>
    MESSAGE_ID=641257651c1b4ec9a8624d7a40a9e1e7
    EXECUTABLE=/usr/lib/systemd/systemd
    MESSAGE=Failed at step CGROUP spawning /usr/lib/systemd/systemd: No such
file or directory
    ERRNO=2
    _BOOT_ID=6f35b05bd0c247a58fb97a9befd3e954
    _PID=1310
    _SOURCE_REALTIME_TIMESTAMP=1423922990522160</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>