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

Interact with the MicroVM in jail environment and daemon mode. #4569

Closed
dtouzeau opened this issue Apr 20, 2024 · 1 comment
Closed

Interact with the MicroVM in jail environment and daemon mode. #4569

dtouzeau opened this issue Apr 20, 2024 · 1 comment

Comments

@dtouzeau
Copy link

Hi

I started the microVM running correctly with the jail in daemon mode, I see my VM running in memory but I can't connect to the shell.
The kernel is set console=ttyS0 reboot=k panic=1 pci=off
I tried without success with stty -F /dev/ttyS0
but I get an error.
stty: /dev/ttyS0: Input/output error

No blog or documentation explain how to access the microvm shell in a jail environment with daemon mode

Any tips ?

@kalyazin
Copy link
Contributor

Hi @dtouzeau . Thanks for the enquiry.
Detaching from the controlling terminal is a part of the daemonization procedure, so it is expected that VM's serial console is not accessible.
We would like to assess if providing an access is an important usecase and design a solution or update the documentation to mention this is a limitation.

@kalyazin kalyazin closed this as completed Jul 1, 2024
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