On Mon, 12 Aug 2024, Antti Kultanen wrote:
I have an emergency root account with sash as the login shell. When logged in
from the text console, after installing any package with adequate 0.16.10
installed, sash no longer logouts but it now leaves the shell in unusable
state: the cursor is blinking erratically on the right side of input line and
the shell does not accept any input at all. Completely unusable, cannot exit,
etc...
Addendum: in this scenario sash gets left in some kind of busy loop
consuming 100% CPU. Attaching strace to the sash process produces these
three lines over and over, around five times per second:
-8<-
write(1, "\r>
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\33[0K\r\33[199C",
211) = 211
ioctl(0, TCGETS, {c_iflag=BRKINT|ICRNL|IXON|IMAXBEL|IUTF8,
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD|HUPCL,
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, c_line=N_TTY,
c_cc=[[VINTR]=0x3, [VQUIT]=0x1c, [VERASE]=0x7f, [VKILL]=0x15, [VEOF]=0x4,
[VTIME]=0, [VMIN]=0x1, [VSWTC]=0, [VSTART]=0x11, [VSTOP]=0x13, [VSUSP]=0x1a,
[VEOL]=0, [VREPRINT]=0x12, [VDISCARD]=0xf, [VWERASE]=0x17, [VLNEXT]=0x16,
[VEOL2]=0, [17]=0, [18]=0]}) = 0
read(0, 0x7fff1af1af60, 1) = -1 EIO (Input/output error)
-8<-
--Antti