[16096] in Athena Bugs

home help back first fref pref prev next nref lref last post

nanny/xlogin misbehavior on steve-dallas

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Aug 4 10:44:44 1998

Date: Tue, 4 Aug 1998 10:44:40 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: bugs@MIT.EDU

steve-dallas (8.2.8) was running five or so xlogins when I just
checked, each with its own pair of axdm processes.  I looked in
/var/adm/SYSLOG and found some relevant stuff.  I first noted that
nanny isn't recording user logins any more.  I guess the logging level
changed.

The nanny syslogs since August 1 are:

Aug  1 20:55:07 3B:steve-dallas nanny[720]: console died: received signal 13
Aug  2 19:21:01 3B:steve-dallas nanny[16958]: killall -hup axdm returned 255
Aug  2 19:22:14 3B:steve-dallas nanny[16958]: console died: exited with status 1
Aug  4 02:36:51 3B:steve-dallas nanny[16958]: console died: received signal 13
Aug  4 02:37:06 3B:steve-dallas nanny[16958]: console died: exited with status 1
Aug  4 03:01:51 3B:steve-dallas nanny[16958]: console died: exited with status 1
Aug  4 03:02:27 3B:steve-dallas nanny[16958]: console died: exited with status 1
Aug  4 09:48:53 3B:steve-dallas nanny[16958]: console died: exited with status 1

The "killall -hup axdm" error message is somewhat telling.  "killall
-hup axdm" fails with a usage message; when I tried "killall -HUP
axdm" and the number of axdm processes dropped to two (the normal
number; one is a child of the other).  However, the extra xlogin
processes stuck around:

F S      UID   PID  PPID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 b0 S     root 18610  6040  0  60 20  *  1079:532   883a4318 10:07:04 ?       0:04 /etc/athena/xlogin -config /etc/ath
 b0 S     root 18613  4526  0  60 20  *  1081:542   883a4324 10:07:04 ?       0:04 /etc/athena/xlogin -config /etc/ath
 b0 S     root 18642 18632  0  60 20  *  1079:534   883a4318 10:07:12 ?       0:04 /etc/athena/xlogin -config /etc/ath
 b0 S     root 18608  2819  0  60 20  *  1079:532   883a4310 10:07:04 ?       0:04 /etc/athena/xlogin -config /etc/ath
 b0 S     root 18609  4777  0  60 20  *  1081:554   883a4314 10:07:04 ?       0:04 /etc/athena/xlogin -config /etc/ath

Ancestor processes which might be relevant:

b0 S     root  6040  6039  0  60 20  *    54:25    882ebbdc 03:17:28 ?       0:00 /bin/sh /etc/athena/login/xdm/Xlogi
 b0 S     root  6039     1  0  60 20  *    52:19    882f5f9c 03:17:28 ?       0:00 sh -c /etc/athena/login/xdm/Xlogin
 b0 S     root  4525     1  0  60 20  *    52:19    882f5b84 02:36:07 ?       0:00 sh -c /etc/athena/login/xdm/Xlogin 
 b0 S     root  4526  4525  0  60 20  *    54:25    882f6ffc 02:36:07 ?       0:00 /bin/sh /etc/athena/login/xdm/Xlogi
 b0 S     root 18631 18618  0  60 20  *    52:19    882f470c 10:07:09 ?       0:00 sh -c /etc/athena/login/xdm/Xlogin 
 b0 S     root 18632 18631  0  60 20  *    52:22    882f5354 10:07:10 ?       0:00 /bin/sh /etc/athena/login/xdm/Xlogi
 b0 S     root  2819  2818  0  60 20  *    54:25    882ee0b4 00:32:49 ?       0:00 /bin/sh /etc/athena/login/xdm/Xlogi
 b0 S     root  2818     1  0  60 20  *    52:19    882f4f3c 00:32:49 ?       0:00 sh -c /etc/athena/login/xdm/Xlogin
 b0 S     root  4776     1  0  60 20  *    52:19    882ed46c 02:40:06 ?       0:00 sh -c /etc/athena/login/xdm/Xlogin 
 b0 S     root  4777  4776  0  60 20  *    54:25    882f42f4 02:40:06 ?       0:00 /bin/sh /etc/athena/login/xdm/Xlogi

Weird that the xlogin processes all say they started at 10:07, but the
Xlogin processes are for various times.  All the syslogs for today
are:

Aug  4 02:36:02 2A:steve-dallas unix: Killing the input queue owner
Aug  4 02:36:03 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 02:36:15 2A:steve-dallas unix: Killing the input queue owner
Aug  4 02:36:15 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 02:36:24 2A:steve-dallas unix: Killing the input queue owner
Aug  4 02:36:25 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 02:36:38 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 02:36:39 3B:steve-dallas xdm[16962]: server unexpectedly died
Aug  4 02:36:48 3E:steve-dallas getty[4607]: failed to exec /usr/lib/iaf/scheme: No such file or directory
Aug  4 02:36:51 3B:steve-dallas nanny[16958]: console died: received signal 13
Aug  4 02:36:51 3B:steve-dallas xdm[16962]: Server for display :0 can't be started, session disabled
Aug  4 02:36:59 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 02:37:00 3B:steve-dallas xdm[16962]: server unexpectedly died
Aug  4 02:37:06 3E:steve-dallas getty[4659]: failed to exec /usr/lib/iaf/scheme: No such file or directory
Aug  4 02:37:06 3B:steve-dallas nanny[16958]: console died: exited with status 1
Aug  4 02:37:06 3B:steve-dallas xdm[16962]: Server for display :0 can't be started, session disabled
Aug  4 02:37:32 3B:steve-dallas Xsession: user "nobody": cannot chdir to home "/dev/null" (err 20), using "/"
Aug  4 02:59:55 2A:steve-dallas unix: Killing the input queue owner
Aug  4 02:59:55 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 03:00:22 2E:steve-dallas xlogin: ROOT LOGIN on tty ttyq2
Aug  4 03:01:35 2A:steve-dallas unix: Killing the input queue owner
Aug  4 03:01:35 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 03:01:51 3B:steve-dallas nanny[16958]: console died: exited with status 1
Aug  4 03:02:15 2A:steve-dallas unix: Killing the input queue owner
Aug  4 03:02:15 3B:steve-dallas xdm[5625]: fatal IO error 131 (Connection reset by peer)
Aug  4 03:02:15 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 03:02:27 3B:steve-dallas nanny[16958]: console died: exited with status 1
Aug  4 03:02:35 2A:steve-dallas unix: Killing the input queue owner
Aug  4 03:02:35 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 03:17:21 2A:steve-dallas unix: Killing the input queue owner
Aug  4 03:17:22 3B:steve-dallas fatal IO error 131 (Connection reset by peer)
Aug  4 03:17:22 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 09:48:23 3B:steve-dallas xdm[16962]: Server for display :0 terminated unexpectedly: 2304
Aug  4 09:48:23 3B:steve-dallas xdm[16962]: server unexpectedly died
Aug  4 09:48:27 3E:steve-dallas getty[18198]: failed to exec /usr/lib/iaf/scheme: No such file or directory
Aug  4 09:48:38 3B:steve-dallas xdm[16962]: Server for display :0 can't be started, session disabled
Aug  4 09:48:53 3B:steve-dallas nanny[16958]: console died: exited with status 1
Aug  4 09:50:49 5E:steve-dallas su[18395]: failed: ttyq0 changing from elliot to root
Aug  4 09:50:49 5E:steve-dallas su[18395]: failed: ttyq0 changing from elliot to root
Aug  4 10:16:33 5E:steve-dallas klogind[18659]: ROOT login by ghudson/root@ATHENA.MIT.EDU (ghudson@SMALL-GODS.MIT.EDU) 
Aug  4 10:16:33 5E:steve-dallas login: ROOT LOGIN ttyq0 FROM SMALL-GODS.MIT.EDU

home help back first fref pref prev next nref lref last post