Age | Commit message (Collapse) | Author |
|
There was a bug that would cause setterm to randomly enable O_ASYNC on
the console due to the use of uninitialized memory. As a consequence,
any keystroke would raise SIGIO and kill the shell. Since setterm is a
convenience feature and killing the shell is bad, disable it for earlier
versions.
Reported-by: Emanuele Rocca <ema@debian.org>
Thanks: Chris Hofstaedtler <zeha@debian.org>
|
|
|
|
|
|
|
|
We now extend /etc/profile to invoke setterm -resize when detecting an
interactive login on a serial console. This should fix 90% of wrongly
sized serial consoles.
|
|
|
|
|
|
|
|
|
|
Jochen Sprickerhof found that systemd interprets the TERM variable
according to our intended meaning and applies it to pid 1. It doesn't
apply it to serial-getty, though so we keep that code for now.
|
|
* debvm-create will now parse a new kernel cmdline debvm.term and if
present will pass its value to agetty as TERM.
* debvm-run will now detect whether it is running in a terminal in
non-graphic mode and pass its environment TERM variable as debvm.term
to the kernel cmdline thus closing the loop.
|
|
The benefit of this change is that we don't have to escape that much. As
a consequence, it becomes easier to put more code into the customization
hooks, which have access to installed package versions. Thus we can
reduce the use of DEBVER and thus improve working with snapshot.d.o.
|