Bug 1014803
Summary: | lxc-start: No such file or directory - stat(/proc/3389/root/dev//console) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Fojtik <mfojtik> |
Component: | docker-io | Assignee: | Lokesh Mandvekar <lsm5> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | jeder, jkeck, lsm5, mattdm, mgoldman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-24 00:42:34 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
Michal Fojtik
2013-10-02 20:02:46 UTC
The /dev/console error is a new one and probably comes from linking /dev/console to /dev/tty1 (which was done to solve another problem). But the key error here is actually this: > Error build: The command [/bin/sh -c yum install -y httpd] returned a non-zero code: 1 > The command [/bin/sh -c yum install -y httpd] returned a non-zero code: 1 https://bugzilla.redhat.com/show_bug.cgi?id=1012952 This is being fixed upstream; can you try with either the patch attached to that bug or simply in creating a dockerfile where you're not installing or updating packages with file capabilities (systemd, httpd are two that _do_ and so won't work.) Still reproduces for me. Which package/version includes the fix ? $ sudo yum repolist|grep docker docker/20/x86_64 Nightly docker repository maintained by 6 docker-experimental/20/x86_64 Nightly docker experimental repository m 3 $ rpm -q docker-io lxc docker-io-0.7.0-2.fc20.x86_64 lxc-0.9.0-2.fc20.x86_64 $ sudo docker images|egrep 'REP|f20r' REPOSITORY TAG IMAGE ID CREATED SIZE mattdm/fedora f20rc3.small 97fc5bf7f8d4 10 weeks ago 198.4 MB (virtual 198.4 MB) $ cat Dockerfile FROM mattdm/fedora:f20rc3.small ENTRYPOINT sleep 10 $ sudo docker build -t testlxc - < Dockerfile $ sudo docker run testlxc lxc-start: No such file or directory - stat(/proc/25732/root/dev//console) ... (In reply to Jeremy Eder from comment #2) > $ cat Dockerfile > FROM mattdm/fedora:f20rc3.small > ENTRYPOINT sleep 10 > cool, so likes like there's trouble with f20rc3.small. things seem to work well with mattdm/fedora (In reply to Lokesh Mandvekar from comment #3) > (In reply to Jeremy Eder from comment #2) > > > $ cat Dockerfile > > FROM mattdm/fedora:f20rc3.small > > ENTRYPOINT sleep 10 > > > > cool, so likes like there's trouble with f20rc3.small. things seem to work > well with mattdm/fedora s/likes/looks Agreed, works with mattdm/fedora and mattdm/fedora:f20 Thanks! Can you try mattdm/fedora-small:f20? The f20rc3.small is actually pretty old and probably broken. |