tpokorra / lxc-scripts

scripts useful for running a server with several lxc containers. DEPRECATED. Please use https://github.com/tpokorra/lxd-scripts!
31 stars 8 forks source link

LXC 2.0 Ubuntu Xenial Host: Fedora 24 guest cannot dnf update iputils #25

Open tpokorra opened 7 years ago

tpokorra commented 7 years ago
  Upgrading   : iputils-20160308-3.fc24.x86_64                                                                            1/2 
Error unpacking rpm package iputils-20160308-3.fc24.x86_64
Error unpacking rpm package iputils-20160308-3.fc24.x86_64
error: unpacking of archive failed on file /usr/bin/ping;57eb9f75: cpio: cap_set_file
iputils-20160308-3.fc24.x86_64 was supposed to be installed but is not!
tpokorra commented 7 years ago

the previous solution for LXC 1.0, to comment lxc.cap.drop = setfcap in /usr/share/lxc/config/fedora.common.conf does not seem to work anymore.

tpokorra commented 7 years ago

seems the container must be stopped for a while, not restarted, for the change to take effect?