<div dir="ltr">Hi Konstantin  -<div><br>I wanted to make sure it wasn&#39;t a matter of my missing some new feature or option, or something obvious.<br><br>A sanity check is always welcome, so thanks for the clarification!<br><br>Regards,</div><div><br></div><div>Joe</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 7:49 AM, Konstantin Khorenko <span dir="ltr">&lt;<a href="mailto:khorenko@virtuozzo.com" target="_blank">khorenko@virtuozzo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi J,<br>
<br>
thank you for the report, and yes, seems it&#39;s bug.<br>
i&#39;ve filed it, so please track it further in<br>
<br>
<a href="https://bugs.openvz.org/browse/OVZ-6657" rel="noreferrer" target="_blank">https://bugs.openvz.org/browse/OVZ-6657</a><br>
<br>
And talking about deprecated &quot;--capability&quot; vzctl option -<br>
this is correct, capabilities should be virtualized, so this option should not be required in Virtuozzo 7.<br>
<br>
And your question was - how to troubleshoot it?<br>
The generic way is - to strace the installation, find the syscall which fails,<br>
and check in kernel code what makes it to return an error. :)<br>
<br>
Pasha will look into it, track the jira issue.<br>
<br>
Thank you again for noticing it!<br>
<br>
--<br>
Best regards,<br>
<br>
Konstantin Khorenko,<br>
Virtuozzo Linux Kernel Team<span class=""><br>
<br>
On 01/14/2016 10:24 PM, jjs - mainphrame wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Greetings,<br>
<br>
I recently attempted to upgrade some packages in an OVZ 7 Centos 7 container.<br>
<br>
I did not succeed; here is the relevant snippet:<br>
<br>
<br>
Running transaction test<br>
Transaction test succeeded<br>
Running transaction<br></span>
  Updating Â  : iputils-20121221-7.el7.x86_64 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 1/4Â<span class=""><br>
Error unpacking rpm package iputils-20121221-7.el7.x86_64<br>
error: unpacking of archive failed on file /usr/bin/ping: cpio: cap_set_file<br>
error: iputils-20121221-7.el7.x86_64: install failed<br>
<br>
Attempts to set the capabilities for the container resulted in this message:<br>
<br>
[root@hachi ~]# vzctl set 1111 --capability cap_set_file:on --save<br>
Warning: The --capability option is deprecated<br>
<br>
In any case, the yum operation continues to fail<br>
<br>
How might I proceed in troubleshooting this? A peek at the openvz bug tracker seems to indicate this was fixed long ago, but here we are. Any advice welcome<br>
<br>
Regards,<br>
<br>
J<br>
</span></blockquote>
</blockquote></div><br></div>