Can't update centos7 (or install httpd) in unprivileged LXC container.

mikecentola

New Member
May 20, 2018
1
0
1
38
sorry to bump this, but having the same issue still on 4.15.18-8-pve

EDIT- Ended up just rebuilding the CT as privileged for now.
 
Last edited:

MihaG

New Member
Jun 16, 2019
12
0
1
43
Still no solution for unprivileged containers? I have kernel 4.15.18-16-pve #1 SMP PVE 4.15.18-41 (Tue, 18 Jun 2019 07:36:54 +0200) x86_64 GNU/Linux but I still cannot update package filesystem.x86_64 0:3.2-21.el7
 

Don Daniello

Active Member
Jan 28, 2012
51
4
28
I'm having the same issue:
http://prntscr.com/dm8m0u

Proxmox 4.4, lxc, unprivileged container, centos-7-default_20161207_amd64.tar.xz


For the filesystem rpm, the following command resolves it:
Code:
echo "%_netsharedpath /sys:/proc" >> /etc/rpm/macros.dist; yum -y update
But i'm still stuck with iputils.
Error unpacking rpm package iputils-20160308-8.el7.x86_64
error: unpacking of archive failed on file /usr/bin/ping;585aafa1: cpio: cap_set_file
iputils-20121221-7.el7.x86_64 was supposed to be removed but is not!
Thanks, this worked for filesystem-3.2-21.el7.x86_64 on CentOS 7.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!