Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No console after move to LXC #7

Open
arheops opened this issue Mar 28, 2024 · 2 comments
Open

No console after move to LXC #7

arheops opened this issue Mar 28, 2024 · 2 comments

Comments

@arheops
Copy link

arheops commented Mar 28, 2024

I have moved opensuse to LXC. Looks all okay, except I have no console in Proxmox for this container.

I see that it is expected be tty1(when I an sending to tty1 i see output) but no login prompts.

Any idea? Apparmor already off.

@my5t3ry
Copy link
Owner

my5t3ry commented Mar 31, 2024

This could be the result of problems booting the lxc-container. Try the following, to get more insights:
lxc-start -n {CONTAINER_ID} -d --logfile debug.log -l debug

@arheops
Copy link
Author

arheops commented Mar 31, 2024

I already found issue.
In current proxmox it connect to /dev/tty
While for some reason in tty file it connect to lxc/console(not exists).
So fix is like

sed -e 's/lxc///g' -i /usr/lib/systemd/system/container-getty@.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants