Bug 1188400

Summary: Unable to update in Docker container
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: filesystemAssignee: Ondrej Vasik <ovasik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: ovasik
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: 2015-07-09 11:55:54 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:
Attachments:
Description Flags
Log from 'docker build' none

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 ***