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!!!!!!
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
 
Hi,

is there a working 24.04 image?

My problem is: I managed somehow to add a Ubuntu 24.04 template to one proxmox server, but I don't remember how. Now I cannot restore backuped containers to my new proxmox server. I tried to copy the template manually (/var/lib/vz/template/cache/), but this does not work. I also cannot create new containers using that template (ubuntu-24.04-standard_24.04-2_amd64.tar.zst).

Also, copying /usr/share/perl5/PVE/LXC/Setup/Ubuntu.pm from the "good" server to the new does not solve the issue.

Thank you
An.drea
 
Last edited:
I also cannot create new containers using that template (ubuntu-22.04-standard_22.04-1_amd64.tar.zst).

Just use the latest:

ubuntu-24.04-standard_24.04-2_amd64.tar.zst

template from the GUI download. Works for me without any problems ...
 
Last edited:
Thank you. Now I can restore containers using Ubuntu 24.04, but they won't start. Nevermind, I will reinstall the containers from scratch.
 
Last edited:

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!