Bug 1217945
Summary: | Docker shutdown breakout | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Anatoly Litovsky <tlitovsk> |
Component: | docker | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | Luwen Su <lsu> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | bazulay, dwalsh, fdeutsch, lsm5, tlitovsk |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-10-28 14:39:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anatoly Litovsky
2015-05-03 08:00:14 UTC
Well if the service asks systemd to shutdown then this can happen. What did the SPC service do? Is there a way to make it a little less sharing of the host. Did you volume mount in /run? How are you running this container? What does the run or create line look like. The docker file you handed me just shows install and uninstall. Please look at this repository git clone git://gerrit.ovirt.org/ovirt-container-node You will see the create command and we start the container using systemd Could this be a process within the container sending a signal to /dev/initctl which is shared within the container and the host a message telling it to shutdown? I assume systemd is doing this . But its systemd-container so I dont know how much it is container / host aware Is /run shared between the container and the host? /run/udev is shared. just in case here is my shared list -v /sys/fs/cgroup:/sys/fs/cgroup:rw \ -v /dev:/dev:rw \ -v /lib/modules:/lib/modules:ro \ -v /run/udev:/run/udev:rw \ I believe the problem is the shared /dev, and someone is communicating with /dev/initctl which is causing your machine to shutdown. You could prove this out by volume mounting something over /dev/initctl. Anatoly any comment? I did and then systemd broke down. It didnt even go up properly. I guess mounting empty file over is not good idea. You could mount /dev/null over /dev/initctl and it should solve your problem. Anatoly? |