Page 1 of 1

Installation with LXC (Quotas)

Posted: Sun 6. Jul 2025, 05:29
by elementary
Hi Community

Has anyone successfully installed KeyHelp in an LXC container and got quotas working with ext4 on both container and host?

Would you to care to share the specifics of what you did? Or does LXC just not support it?

On a side note, does KeyHelp expect quotas on the root filesystem or just the user directories?

Thanks all.

Re: Installation with LXC (Quotas)

Posted: Thu 7. Aug 2025, 08:42
by SecCon
Hi there,

I looked into this as part of my own deployment and unfortunately, running KeyHelp in an LXC container with working user quotas on ext4 is… not really practical.

KeyHelp relies on system-level user quotas to manage hosting limits, mail storage, etc. While you might get some things working in a privileged LXC with the right mount flags, most setups (especially with Proxmox or ZFS) just don’t support classic usrquota/grpquota in containers.

A full VM is the way to go if you want quota support to "just work" — the KeyHelp installer handles it cleanly in that environment.

Re: Installation with LXC (Quotas)

Posted: Thu 7. Aug 2025, 09:07
by Tobi
Sorry, but it is just the other way around.
LXC is not the right choice for KeyHelp.
Better try KVM virtualisation.