Ubuntu 24.04 LXC containers fail to boot after upgrade

So with pve-container 5.1.10 the ubuntu 24.04 template should work then?
But the template was removed from the repo, because we needed first pve-container 5.1.10?
Now we have 5.1.10, but no ubuntu 24.04 template, if i understand it correctly?

Thanks fiona, sorry for the stupid questions, but im confused now a bit either xD
You can get a almost working image from https://fra1lxdmirror01.do.letsbuildthe.cloud/images/ubuntu/noble/amd64/default/ (rootfs.tar.xz), but you have to remove the yml file from /etc/netplan directory.
 
  • Like
Reactions: MON@H
Hi, please help me! :)
After i updated the ubuntu container 23.10 to 24.04 i have lost networking in GUI but in terminal is ok.
Any thoughts on this? More details here.
Thank you!
 
In the container i have installed xfce desktop and connect to it through xrdp. It is very handy ;)
 
In Proxmox i have dis issues, an upgraded Ubuntu 23.10 to 24.10 container using official Proxmox image is loosing it,s networking in GUI and an official Proxmox image with Ubuntu 24.04_2 has no network after boot but has a valid networking configuration. In the last scenario, only the ping command i was able to make it to work using
Code:
sudo setcap cap_net_raw+p /bin/ping
. At least in 23.10 upgaded i have the network working in CLI but not in GUI.
Using LXD on a Ubuntu host i have no such problems.
This is what i try to solve using Proxmox forums...
Thanks
 
I have found this in proxmox logs...any thoughts on this...i think this is the culprit:
Code:
mdProx audit[1156011]: AVC apparmor="DENIED" operation="create" class="net" namespace="root//lxc-102_<-var-lib-lxc>" profile="firefox" pid=1156011 comm=444E53205265736F6C766572202331 family="inet" sock_type="dgram" protocol=0 requested="create" denied="create"
 
i have managed to get it working...why 23.10 was working and not 24.04 eludes me...
In proxmox edit the container conf
Code:
nano /etc/pve/lxc/102.conf
file and add
Code:
lxc.apparmor.profile = unconfined

Success!!!!!!
 
i have managed to get it working...why 23.10 was working and not 24.04 eludes me...
In proxmox edit the container conf
Code:
nano /etc/pve/lxc/102.conf
file and add
Code:
lxc.apparmor.profile = unconfined

Success!!!!!!
Hey thanks for this! this finally fixed my issue. What exactly does this do? :p

Figure I will add to this, only my LXC with plex has this issue. I have a homebridge LXC and that updated and ran fine.
 
Last edited:
I am glad that it helped! I think it disables apparmor for this container.
It is a bug in pve i think which dosen't account for all the changes in apparmour profile for 24.04
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!