clean up error reporting
switch to the systemd cgroup API