Details
-
Type: Bug
-
Status: Verified
-
Priority: Critical
-
Resolution: Fixed
-
Fix Version/s: Vz7.0-Beta3
-
Component/s: Containers::Kernel
-
Security Level: Public
-
Environment:Virtuozzo 7 (build 7.0.0-1543 was used)
vzkernel-3.10.0-229.7.2.vz7.9.24
Description
>Description of problem:
cap_set_file failed - Operation not permitted - inside a Container
>How reproducible:
* install Virtuozzo 7 (build 7.0.0-1543 was used, vzkernel-3.10.0-229.7.2.vz7.9.24)
# vzctl install 100 --ostemplate
# vzctl start 100
# wget http://mirror.centos.org/centos//7/os/x86_64/Packages/iputils-20121221-7.el7.x86_64.rpm
# mv iputils-20121221-7.el7.x86_64.rpm /vz/root/100/tmp/
# vzctl enter 100
# cd /tmp
# rpm -ihv iputils-20121221-7.el7.x86_64.rpm --force
warning: iputils-20121221-7.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:iputils-20121221-7.el7 ################################# [100%]
error: unpacking of archive failed on file /usr/bin/ping: cpio: cap_set_file failed - Operation not permitted
error: iputils-20121221-7.el7.x86_64: install failed
Issue reported by jjs - mainphrame <jjs@mainphrame.com>
https://lists.openvz.org/pipermail/users/2016-January/006705.html
cap_set_file failed - Operation not permitted - inside a Container
>How reproducible:
* install Virtuozzo 7 (build 7.0.0-1543 was used, vzkernel-3.10.0-229.7.2.vz7.9.24)
# vzctl install 100 --ostemplate
# vzctl start 100
# wget http://mirror.centos.org/centos//7/os/x86_64/Packages/iputils-20121221-7.el7.x86_64.rpm
# mv iputils-20121221-7.el7.x86_64.rpm /vz/root/100/tmp/
# vzctl enter 100
# cd /tmp
# rpm -ihv iputils-20121221-7.el7.x86_64.rpm --force
warning: iputils-20121221-7.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:iputils-20121221-7.el7 ################################# [100%]
error: unpacking of archive failed on file /usr/bin/ping: cpio: cap_set_file failed - Operation not permitted
error: iputils-20121221-7.el7.x86_64: install failed
Issue reported by jjs - mainphrame <jjs@mainphrame.com>
https://lists.openvz.org/pipermail/users/2016-January/006705.html