Summary: | Systemd crashes in libcontainer/docker | ||
---|---|---|---|
Product: | systemd | Reporter: | Jaka Hudoklin <jakahudoklin> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED NOTOURBUG | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jaka Hudoklin
2014-06-28 08:10:19 UTC
Docker/LXC are probably not setting up something properly that is necessary to log. Would be good to get an strace. Please provide the console output of this, when you boot systemd with systemd.log_level=debug systemd.log_target=console on the container's PID 1 command line. Otherwise I cannot really tell you much.... (In reply to comment #2) > Please provide the console output of this, when you boot systemd with > systemd.log_level=debug systemd.log_target=console on the container's PID 1 > command line. Otherwise I cannot really tell you much.... Well i do that, but the problem is that systemd crashes immidiatelly and no debug output is printed out. I might be able to run it with debugging symbols and debug trace might be better, do you have any other suggestion? What's funny is that this is known problem in docker, but looks like no one else has bothered to fix it. consider running systemd with "strace -D -o /tmp/foobar" or so, to see if any syscalls fail. Anyway, this is nothing to fix in systemd really. The docker guys need to set up their execution environment right for systemd if they want to be able to run it in a docker container. How that's supposed to be done is well documented in http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/ Closing this bug now. Feel free to reopen if you have a specific issue where you think systemd is doing something wrong, that is not covered by the docs above. |
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.