Installation with LXC (Quotas)

Discussions about the installation of KeyHelp.
Post Reply
elementary
Posts: 4
Joined: Mon 16. Sep 2024, 13:54

Installation with LXC (Quotas)

Post 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.
User avatar
SecCon
Posts: 7
Joined: Fri 5. Apr 2024, 14:19
Location: Sweden
Contact:

Re: Installation with LXC (Quotas)

Post 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.
SoHoLabs
My KeyHelp is on:
EPYC 7532 | 128GB ECC | Proxmox VE 8 (ZFS root)
KeyHelp VM: Ubuntu 24.04, 4 vCPU, 12GB RAM, SSD-backed ZFS
Static IP, VirtIO NIC, ZFS autotrim, Netdata monitoring
User avatar
Tobi
Community Moderator
Posts: 3368
Joined: Thu 5. Jan 2017, 13:24

Re: Installation with LXC (Quotas)

Post by Tobi »

Sorry, but it is just the other way around.
LXC is not the right choice for KeyHelp.
Better try KVM virtualisation.
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Post Reply