<div dir="ltr">Hi there!<div>I'm exploring possibility to use systemd as process manager / "containizer" for Apache Mesos (<a href="http://mesos.apache.org">http://mesos.apache.org</a>). At the moment I'm trying to use systemctl/systemd-run to implement following:</div>
<div>* Start process with specified restrictions (It works wih systemd 211)</div><div>* Stop process - systemctl stop/ kill works too.</div><div>* Read process status - systemctl lacks robot readable output of process status.</div>
<div>* Reap process status:</div><div>  * there is "systemctl reset-failed" - but it reaps all failed units</div><div>  * services exited with 0 exit code are gone completely (maybe it's not an issue)</div><div>
* Read container (cgroup) resource usage - it is possible to do that manually, but I think it could be great to have an API.</div><div>* Start processes in --user systemd instance</div><div>  When I call systemd-run --user env I get "Failed to create message: Input/output error", digging with strace shows that dbus starts service "/usr/share/dbus-1/services/org.freedesktop.systemd1.service" which has Exec=/bin/false inside. I'm using Fedora 20 with systemd-211 directly from koji.</div>
<div><br></div><div>I'd appreciate any guides, hints, suggestions. Thanks!</div><div><br></div><div><br></div><div>----</div><div>Nikita</div></div>