[systemd-devel] User systemd unit files

Chris Morgan chmorgan at gmail.com
Mon Sep 8 11:27:02 PDT 2014


Hello.

We have a build environment that we use to build our software for
desktop Linux and we are currently using Yocto to build for an
embedded target.

I'm looking for a way for developers to use the systemd unit files for
our services out of their user owned build directory during
development so we can use the same files during development that we
would use during production.

I came across 'systemd --user' but I'm not having much luck starting
this up as my own user as it looked like $SYSTEMD_UNIT_PATH was
exactly what I was looking to set.

Fedora 20 cli output:

$ /usr/lib/systemd/systemd --user
Failed to create root cgroup hierarchy: Permission denied
Failed to allocate manager object: Permission denied

And some discussion on libreoffice pages seems to be indicating that
'systemd --user' isn't supported any more.

Thoughts on this approach or if there are alternate/better ideas to
accomplish the same thing? We are already building our own kind-of
root directory hierarchy in the code build directory so we can update
the path and not have to install things to the users system folders
during development.

Chris


More information about the systemd-devel mailing list