Problems with container permissions after Upgrading from Ubuntu 20.04 to 22.04

Hello there,

today i have upgraded my Server from Ubuntu 20.04 LTS to 22.04 LTS.
I have also updated lxd via Snap from 4.0 to 5.9.

The containers are unprivileged with a different idmap.

I can start my containers, but they don’t have write access to the filesystem now:
“Error writing lock file ./.test.swp: Value too large for defined data type.”

When i set the security.privileged=true everything is working, but that is not my intention, in terms of security.

Next try was to isntall a new ubuntu container image, but that image i can’t run:
“newuidmap binary is missing”

Is there anybody with a simmilar configuration, who already had that issue?

Looking forward to your help/feedback.

Best regards

Jan

Its a kernel bug

thank you for your reply. will study that topic now :slight_smile: