[systemd-devel] Setting cgroup properties on systemd --user

Thomas Bächler thomas at archlinux.org
Mon Feb 24 10:48:30 PST 2014


I am trying to set properties on scopes or services of my user instance,
for example:

 systemctl --user set-property --runtime foobar.scope CPUShares=150

This command returns without error, but in the journal, I get messages
like this:

systemd[5054]: Failed to set cpu.shares on
/user.slice/user-1000.slice/user at 1000.service: No such file or directory

followed by a similar message for each unit that is active under my user
instance.

What's going on here? Is this supposed to work?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140224/27e988c1/attachment-0001.pgp>


More information about the systemd-devel mailing list