Summary: | Failed at step CGROUP spawning /usr/lib/systemd/systemd | ||
---|---|---|---|
Product: | systemd | Reporter: | David Herrmann <dh.herrmann> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | dh.herrmann, dominik, freedesktop, systemd, tim |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | journal |
Description
David Herrmann
2015-02-14 14:28:07 UTC
Just as a heads-up: strace or even some log_error() splattering in src/shared/cgroup-utils.c makes it impossible to trigger the race. Same is true with a debug-kernel.. so if anyone has an idea where to start, lemme know. Also happening on Arch Linux with systemd 219-6: ---- Mai 28 11:27:48 pc3 systemd[1]: Starting User Manager for UID 10001... Mai 28 11:27:48 pc3 systemd[7625]: Failed at step CGROUP spawning /usr/lib/systemd/systemd: No such file or directory ---- See also: https://bugzilla.redhat.com/show_bug.cgi?id=1185277 Created attachment 117454 [details]
journal
Hi, It also happened to me when with archlinux, systemd 222-1, linux 4.1.2-2-ARCH I have a simple system where I login in a tty, sometimes run X+awesome (with startx). I happens to me when I log out (after some work done) and log in again. Once I've logged in the effect is that the user instance of systemd is not running. See the attached log. user@1000.service: Failed at step CGROUP spawning /usr/lib/systemd/systemd: No such file or directory Cheers, Pierre I just tried to reproduce it and I was able to have the issue by just logging in and out, in and out several times in a row. I've had the issue after something like 10 tries. What I did was repeat these actions: 1. Type login + password 2. execute 'systemctl --user show-environment', if it fails then issue reproduced 3. Ctrl-D (=exit) When it fails I get: Failed to get environment: Process org.freedesktop.systemd1 exited with status 1 This hurts our users now because without systemd --user, dbus-daemon is missing too. The GDM greeter is especially vulnerable on systems using drivers that do not support Wayland, since the Xorg greeter session immediately follows the failed Wayland greeter session. systemd --user is stopped and immediately started again, which almost always fails due to this bug. Downstream bug: https://bugs.archlinux.org/task/46387 Downstream bug report says it's fixed but I still see this inside LXC containers from time to time. Jan 25 17:13:55 host systemd[1]: Starting Cleanup of Temporary Directories... Jan 25 17:13:55 host systemd[11796]: systemd-tmpfiles-clean.service: Failed at step CGROUP spawning /usr/bin/systemd-tmpfiles: No such file or directory Still seeing this with systemd-229 on Fedora 24 when running munin-2.0.26's cron job. I am pretty sure this has been fixed a while back. If this is reproducible on current systemd (i.e. 234 or 235), please open a new issue on github, thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.