Bug 1188400 - Unable to update in Docker container
Summary: Unable to update in Docker container
Keywords:
Status: CLOSED DUPLICATE of bug 1171928
Alias: None
Product: Fedora
Classification: Fedora
Component: filesystem
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-02 18:41 UTC by Tim Waugh
Modified: 2015-07-09 11:55 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-09 11:55:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log from 'docker build' (34.51 KB, text/plain)
2015-02-02 18:41 UTC, Tim Waugh
no flags Details

Description Tim Waugh 2015-02-02 18:41:18 UTC
Created attachment 987216 [details]
Log from 'docker build'

Description of problem:
When trying to run 'yum -y update' in a fedora:21-based container, an error installing the filesystem package causes failure.

My Dockerfile started:

FROM fedora:21
MAINTAINER Tim Waugh <twaugh>
RUN yum -y update && yum clean all

Version-Release number of selected component (if applicable):
filesystem-3.2-28.fc21.x86_64

How reproducible:
100%

Steps to Reproduce:
cat >Dockerfile <<EOF
FROM fedora:21
MAINTAINER Tim Waugh <twaugh>
RUN yum -y update && yum clean all
EOF
docker build -t test --rm .

Actual results:
See attached build log.

Comment 1 Ondrej Vasik 2015-02-03 00:30:53 UTC
It looks like the update fails because of the different permissions on /sys dir in the base container. Most likely not a bug in filesystem package itself. I changed the /sys permissions to match the kernel ones.

Comment 2 Ondrej Vasik 2015-07-09 11:55:54 UTC

*** This bug has been marked as a duplicate of bug 1171928 ***


Note You need to log in before you can comment on or make changes to this bug.