you can follow the regular upgrade procedure for debian.I also need to update my LXCs from Buster to Bullseye.
So there is nothing special updating a LXC except for enabling nesting? So only aapt dist-upgrade
like with my VMs I upgraded from Buster to Bullseye?
apt update && apt dist-upgrade
to get the latest buster packages/etc/apt/sources.list
and sources.list.d
to use bullseye instead of debian.sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list
will do that for the sources.list
file (you'll need to check if you have any other repositories enabled)apt update && apt dist-upgrade
and follow the promptsexit
the container and reboot it with pct reboot CTID
(you can also use the "Reboot" button in GUI)/lib/systemd/system/systemd-logind.service
. systemctl daemon-reload
to reload the profile.Comment out the hardening options starting with *Private* or *Protect* in/lib/systemd/system/systemd-logind.service
.
# ProtectProc=invisible
# ProtectControlGroups=yes
You can read the opinion of the Proxmox staff earlier in this thread.Warning: I don't have a clue, how this affects security. Maybe using nested is better (or worse).
Thanks. Shouldn't you also link this in the wiki? There you only find the hint that it might be insecure because procfs and sysfs are mounted from the host into the container.You can read the opinion of the Proxmox staff earlier in this thread.