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

@console not functional with multiple active consoles #103

Closed
wkz opened this issue Mar 6, 2018 · 1 comment
Closed

@console not functional with multiple active consoles #103

wkz opened this issue Mar 6, 2018 · 1 comment
Milestone

Comments

@wkz
Copy link
Contributor

wkz commented Mar 6, 2018

Specifying tty @console is supposed to bring up a getty on the active console. But when multiple consoles are active, no getty will be available on any of them.

This is because /sys/class/tty/console/active is assumed to only contain a single tty. When multiple consoles are active this files shows them all in a space separated list, e.g. tty0 ttyAMA0.

Fixing the parse error is easy. The hard question is: how to we handle this functionally? Do we spawn a getty for each console listed? Only the first?

@troglobit
Copy link
Owner

troglobit commented Mar 7, 2018

I think we need to start a getty on each one. That's the only thing that makes sense. The @console is special anyway, so having another exception for it should be OK.

@troglobit troglobit added this to the v3.2 milestone Mar 18, 2018
@troglobit troglobit modified the milestones: v3.3, v3.2 Apr 11, 2020
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