[17781] in Athena Bugs
Re: Linux console lossage
daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Apr 14 15:44:58 2000
Message-Id: <200004141944.PAA23821@small-gods.mit.edu>
To: Greg Hudson <ghudson@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "Fri, 14 Apr 2000 15:21:24 EDT."
<200004141921.PAA23618@small-gods.mit.edu>
Date: Fri, 14 Apr 2000 15:44:49 -0400
From: Greg Hudson <ghudson@MIT.EDU>
> So, we seem to have a failure case involving exiting console logins.
Aha. Since I had turned on sshd on the machine, I can provide more
information about this.
dm is running. Obviously, there is no X or console or xlogin running.
There is also no getty running. An strace of the dm process shows:
read(5,
and it's not doing much else. There is a relevant log message:
Apr 12 13:55:46 feet-of-clay dm: Giving up on the console
gdb attaching to the process shows:
#0 0x4016fdc4 in __libc_read () from /lib/libc.so.6
#1 0x8056400 in sig_zero ()
#2 0x400e9408 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#3 0x804b274 in main (argc=4, argv=0xbffffe04) at dm.c:551
I find that last line number (551 in main.c) kind of odd, since:
[root@feet-of-clay dm]# rpm -q athena-xdm
athena-xdm-8.3-28b
and if I rpm -i the athena-xdm-8.3-28b SRPM and do "rpm -bp
/usr/src/redhat/SPECS/athena-xdm-8.3", line 551 of
/usr/src/redhat/BUILD/athena-xdm-8.3 is:
sigsuspend(&sig_zero);
which does not make sense for a process suspended in __libc_read().
At this point I'm going to destroy the evidence, since I need the
machine for update testing.