Proxmox VE/LXC errors: setrlimit(RLIMIT_CORE)
This issue occurred on Ubuntu 20.04 LTS due to bugs and vulnerability on older version of sudo
This issue occurred when I had to downgrade my turnkey install from Ubuntu 22.04 LTS to Ubuntu 20.04 LTS while implementing the latest updates to an AIL Project instance which was being affected by breaking changes in werkzeug.

The workaround suggests creating a new sudo.conf file, which didn't work for me.
💡
echo "Set disable_coredump false" >> /etc/sudo.conf
What did work was updating sudo itself (works only as root) which brought my version up to the latest.
💡
apt-get update && apt-get install -y sudo
Before you leave, a very important note is to ensure that after the update you aren't running a vulnerable version of sudo as mentioned in this CVE-2021-3156 advisory from CISA!