View Issue Details

IDProjectCategoryView StatusLast Update
0014897CentOS-7filesystempublic2018-06-18 14:45
Reporterjalavoy 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0014897: filesystem-3.2-25.el7.x86_64 wont install on LXC containers due to /sys being read only.
Descriptiondue 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 Reproduceyum 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
Tagsdocker
abrt_hash
URL

Activities

jalavoy

jalavoy

2018-06-02 16:07

reporter  

XrtSaaY.png (838,174 bytes)
jalavoy

jalavoy

2018-06-11 18:20

reporter   ~0032053

This also effects docker containers.
jalavoy

jalavoy

2018-06-11 18:25

reporter   ~0032054

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
jalavoy

jalavoy

2018-06-18 14:45

reporter   ~0032107

This was also reported under the redhat bug tracker here: https://bugzilla.redhat.com/show_bug.cgi?id=1589968

Issue History

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