<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="font-size: 13px;"><font face="Times New Roman" size="2" style="font-size: 14px;">Hi, guys,</font></span><div style="font-size: 13px;"><font face="Times New Roman" size="2" style="font-size: 14px;"><br></font></div><div style="font-size: 13px;"><font face="Times New Roman" size="2" style="font-size: 14px;">I’m trying to get Cgroups working for RHEL7, and has a question on the Cgroups. When I started a process using “systemd-run --user <command>” under a user account, I always got an exception that “cannot get the dbus connection”. The systemd-run command under root user works well. But we cannot always use the root account to start the process.</font></div><div style="font-size: 13px;"><font face="Times New Roman" size="2" style="font-size: 14px;"><br></font></div><div style="font-size: 13px;"><font face="Times New Roman" size="2" style="font-size: 14px;">I also looked into the systemd <a href="http://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">document</a>. It seems that we should call “startTransientUnit()” method on systemd on the bus. Is that the recommended way? Are there convenient CLI commands that we can call to achieve the same?</font></div><div style="font-size: 13px;"><font face="Times New Roman" size="2" style="font-size: 14px;"><br></font></div><div style="font-size: 13px;"><font face="Times New Roman" size="2" style="font-size: 14px;">thanks,</font></div><div><span style="font-size: 13px;"><font face="Times New Roman" size="2" style="font-size: 14px;">Wei</font></span><br></div></body></html>