[PATCH 0/4] um: Assorted console related fixes

Glenn Washburn development at efficientek.com
Tue Mar 8 21:29:21 PST 2022


On Sat, 2022-01-01 at 22:58 +0100, Richard Weinberger wrote:
> When UML terminates (gracefully or panic) it does not always
> cleanup on the host side.
> Especially when fd:0,fd:1 is used as console it can leave a misconfigured
> stdin/out on the host side.
> Also stale processes such as port-helper can left behind.

> This series fixes the console exit code to make sure UML
> undoes everything it changed on the host side.

I gave this a run hoping it would fix the issues I'm seeing with the console
getting messed up when UML exits via halt in the guest. Echo is turned off
and looks like carriage return doesn't work either. I'm using "reset" to get
the terminal back to its previous state. Unfortunately this patch series did
not fix this issue.

I'm not saying that these aren't valid fixes. But it does appear that these
changes don't make sure that "everything" changed on the host side is undone.

Glenn




More information about the linux-um mailing list