[systemd-devel] "systemd --test" fails

Lennart Poettering lennart at poettering.net
Sun Mar 8 15:50:32 PDT 2015

On Fri, 06.03.15 11:23, Frank Steiner (fsteiner-mail1 at bio.ifi.lmu.de) wrote:

> Hi,
> for debugging an ordering cycle during boot I tried to run
>   systemd --test --system  --unit=multi-user.target --log-level=debug
> as user (as it doesn't work as root).
> The result is just:
> Detected architecture 'x86-64'.
> Failed to set hostname to <wirth>: Operation not permitted
> Failed to open /dev/tty0: Permission denied
> Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd/user.slice/user-0.slice/session-2.scope.
> Release agent already installed.
> Failed to create root cgroup hierarchy: Permission denied
> Failed to allocate manager object: Permission denied
> With --used the two "Failed" lines disappear, but nothing else is shown.
> This is a SLES 12 system. Any idea what I'm doing wrong? What permissions 
> does the user need to run the test mode? Adding him to the root group 
> didn't suffice.

210 is really old. THis has been fixed a while back in newer
versions. Please update or ask your distribution to backport the fixes.


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list