View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014897 | CentOS-7 | filesystem | public | 2018-06-02 16:07 | 2019-01-21 17:53 |
Reporter | jalavoy | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 7.5.1804 | ||||
Summary | 0014897: filesystem-3.2-25.el7.x86_64 wont install on LXC containers due to /sys being read only. | ||||
Description | due to /sys being a read only mount inside of the LXC container, filesystem attempts to chown /sys and cannot, causing a cpio failure. Running transaction Updating : filesystem-3.2-25.el7.x86_64 1/2 Error unpacking rpm package filesystem-3.2-25.el7.x86_64 error: unpacking of archive failed on file /sys: cpio: chown Verifying : filesystem-3.2-25.el7.x86_64 1/2 filesystem-3.2-21.el7.x86_64 was supposed to be removed but is not! Verifying : filesystem-3.2-21.el7.x86_64 | ||||
Steps To Reproduce | yum update filesystem -y or yum install --downloadonly filesystem && rpm -Uvh /var/cache/yum/x86_64/7/base/packages/filesystem-3.2-25.el7.x86_64.rpm --force | ||||
Tags | docker | ||||
abrt_hash | |||||
URL | |||||
This also effects docker containers. | |
Rebuilding the RPM without the %attr specification for /sys allows it to install --- SPECS/filesystem.spec 2018-04-10 14:27:21.000000000 -0600 +++ SPECS/filesystem.spec.patched 2018-06-11 12:22:37.736839876 -0600 @@ -200,7 +200,7 @@ /run /sbin /srv -%attr(555,root,root) /sys +#%attr(555,root,root) /sys %attr(1777,root,root) /tmp %dir /usr %attr(555,root,root) /usr/bin |
|
This was also reported under the redhat bug tracker here: https://bugzilla.redhat.com/show_bug.cgi?id=1589968 | |
Hello, this issue is correlated with you Docker host!? I have the same problem but it is only relevant when I run the image build for RHEL7.X with a Docker host running on RHEL6.X (which is not a good idea...) The reason is that /sys is mount on RHEL6.X : drwxr-xr-x 13 root root 0 Aug 1 17:22 sys and on RHEL7.X: dr-xr-xr-x 13 root root 0 Jul 10 10:11 sys Could you give us more info on you docker host system ? Matth |
|
Greetings, I wanted to add to this issue regarding the `filesystem.x86_64 0:3.2-21.el7` package. This issue is effecting LXC containers running Centos 7, and is having some unexpected issues on base installs, and also installs with EPEL The package is included in regular `yum update` for the base LXC image, but will always fail to install (as already noted) however, if the machine had EPEL repo enabled, the failed filesystem package will break PAM and give "permission denied" upon login. I have had to blacklist this package, due to massive breaking on CentOS systems, until I can figure out a way around this issue. This package would currently affect all docker images using Centos, and also all LXC images. The images in specific that I am seeing the problem in are ones inside Proxmox. > Centos-7-default_20171212_amd64.tar.xg Steps to reproduce: 1) download Centos7 in LXC 2) Launch Centos7 LXC container instance 3) log into centos LXC container 4) Run `yum update` 5) reboot or logout 6) receive "permission denied" when attempting to log in. Output from yum update: filesystem-3.2-25.el7.x86_64.rpm | 1.0 MB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : filesystem-3.2-25.el7.x86_64 1/2 Error unpacking rpm package filesystem-3.2-25.el7.x86_64 error: unpacking of archive failed on file /sys: cpio: chown Verifying : filesystem-3.2-25.el7.x86_64 1/2 filesystem-3.2-21.el7.x86_64 was supposed to be removed but is not! Verifying : filesystem-3.2-21.el7.x86_64 2/2 Failed: filesystem.x86_64 0:3.2-21.el7 filesystem.x86_64 0:3.2-25.el7 Complete! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-06-02 16:07 | jalavoy | New Issue | |
2018-06-02 16:07 | jalavoy | File Added: XrtSaaY.png | |
2018-06-11 18:20 | jalavoy | Tag Attached: docker | |
2018-06-11 18:20 | jalavoy | Note Added: 0032053 | |
2018-06-11 18:25 | jalavoy | Note Added: 0032054 | |
2018-06-18 14:45 | jalavoy | Note Added: 0032107 | |
2018-09-03 09:12 | matthdan | Note Added: 0032635 | |
2019-01-21 17:52 | benc | Note Added: 0033648 |