Created
December 4, 2021 07:15
-
-
Save charlyie/76ff7d288165c7d42e5ef7d304245916 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If Debian 11 is ran on a LXC container (Proxmox), SSH login and sudo actions can be slow | |
# Check if in /var/log/auth.log the following messages | |
Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms) | |
-> Run systemctl mask systemd-logind | |
-> Run pam-auth-update (and deselect Register user sessions in the systemd control group hierarchy) |
This fixed my problem, thank you.
It's not possible to enable nesting in privileged containers though.
It's possible to turn on nesting after container creation: CT |-> Options |-> Features |-> Edit
Thanks! 🤗
Basically there is no need to mask the systemd-logind service. Just turn on "nesting" in proxmox.
This worked. I had forgotten to turn this on when I created the LXC.
Thank you, man
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it works, thank you