It says: cpio: cap_set_file
So you might want to try "lxc.cap.drop = " (man lxc.container.conf).
Or simply chroot to the container fs from the host (NOT lxc-attach), and
repeat your "yum install" command.
--
Fajar
On Sat, Mar 7, 2015 at 2:09 PM, CDR wrote:
> is there any workaround?
>
> On
On Wed, Mar 11, 2015 at 5:39 PM, CDR wrote:
> This is a privileged container, so it should have all the rights.
In case you haven't read the generated config from ubuntu templates
(and the included files), they restrict many things with
lxc.cgroup.devices.deny, lxc.aa_profile, and lxc.cap.drop.
This is a privileged container, so it should have all the rights.
What exactly comes after the equal sign?
"lxc.cap.drop = "
On Wed, Mar 11, 2015 at 6:13 AM, Fajar A. Nugraha wrote:
> It says: cpio: cap_set_file
>
> So you might want to try "lxc.cap.drop = " (man lxc.container.conf).
>
> Or sim
As I wrote, you can try adding it to the initial template that creates the
containers.
/usr[/local]/share/lxc/templates/lxc-centos
Find PKG_LIST="yum initscripts passwd ... "
.. and append some packages to this list.
Updating them later might not work, due to the same error ...
On Sat, Mar 7,
is there any workaround?
On Fri, Mar 6, 2015 at 8:44 PM, Király, István wrote:
> This happens with rpm's. ...
>
> It usually works if you add it to the initial package list, in the
> template.
>
> On Sat, Mar 7, 2015 at 12:26 AM, Bostjan Skufca wrote:
>
>> What is your host running?
>>
>> b.
>>
This happens with rpm's. ...
It usually works if you add it to the initial package list, in the template.
On Sat, Mar 7, 2015 at 12:26 AM, Bostjan Skufca wrote:
> What is your host running?
>
> b.
>
>
> On 6 March 2015 at 22:25, CDR wrote:
>
>> Downloading packages:
>> mtr-0.85-7.el7.x86_64.rp
What is your host running?
b.
On 6 March 2015 at 22:25, CDR wrote:
> Downloading packages:
> mtr-0.85-7.el7.x86_64.rpm
> | 71 kB 00:00:00
> Running transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
> Installing :
> 2:mtr-0.85-7.el7.x86_64
> 1/1
Downloading packages:
mtr-0.85-7.el7.x86_64.rpm
| 71 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing :
2:mtr-0.85-7.el7.x86_64
1/1
Error unpacking rpm package 2:mtr-0.85-7.el7.x86_64
error: unpacking of archive failed on f