Debian 11 LXC Template

Aug 24, 2021
3
0
1
43
Hello,

I often find myself utilizing the LXC templates to spin up containers. Today, I noticed when using the Debian 11 template there is a delay at the root login. When I do get dropped to the prompt, I check the logs and I see this:

Code:
Aug 30 15:51:08 debtest dbus-daemon[83]: [system] Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)
Aug 30 15:51:08 debtest login[162]: pam_systemd(login:session): Failed to create session: Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)

When standing up this particular container, I unchecked unprivileged/nested options. In addition to unchecking the firewall. I also left the DNS to pull in what I have on the PVE host itself. I then ran through standing up a second container, this time keeping both unprivileged/nested options checked and still keeping the firewall option unchecked, this resulted in the intended behavior of being immediately dropped to the prompt.

When the delayed login takes place, it seems to also pull IPv6 DNS resolver. Whereas, without the delayed login the resolver(s) are set correctly.

What about my setup, and/or the options referenced being checked or not would cause this issue on this template. I should note that Debian's 10 LXC template does not result in the same issue.
 
@BobhWasatch : thanks. hm, do you happen to know if that was related to Debian 11. As mentioned, no issue (nor do i need to enable nesting) on LXC Debian 10. If so, curious about whatever came of this issue...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!