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:
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.
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.