Apologies if this has been discussed; it seems to affect a lot of my 
systems so I'm surprised if it hasn't, but I haven't found an effective 
solution looking through the list.

Various PowerEdge 1950s/2950s without DRAC exhibit this symptom running 
RHEL 5. There is a multiline warning banner in /etc/issue. Console 
redirection is enabled, and the following form of kernel line is used in 
/boot/grub/menu.lst:

timeout=5
serial --unit=1 --speed=57600
terminal --timeout=5 serial console
title Red Hat Enterprise Linux Server (2.6.18-164.2.1.el5)
         root (hd0,1)
         kernel /boot/vmlinuz-2.6.18-164.2.1.el5 ro root=LABEL=/ 
console=tty0 console=ttyS1,57600 rhgb
         initrd /boot/initrd-2.6.18-164.2.1.el5.img

The following is in /etc/inittab:

co:2345:respawn:/sbin/agetty -h ttyS1 57600 vt100-nav

(The agetty -h option doesn't seem to matter.)

Boot is fine; I have access to the console over IPMI/SOL during boot, 
all the way to getting an agetty login banner and prompt. But once I 
disconnect my IPMI/SOL session, after some delay, the BMC enters a kind 
of feedback loop where the banner text is fed back into agetty. agetty 
then logs a lot of failed login attempts, and eventually init pauses 
spawning agetty for 5 minutes because of excessive restarts. This looks 
like this in /var/log/secure (over and over again):

Oct 23 21:03:15 foo login: FAILED LOGIN 1 FROM (null) FOR 
warning**warning**warning**warning**warning**warning**warning, User not 
known to the underlying authentication module
Oct 23 21:03:17 foo login: pam_unix(login:auth): bad username []
Oct 23 21:03:17 foo login: pam_succeed_if(login:auth): error retrieving 
information about user
Oct 23 21:03:17 foo login: FAILED LOGIN 2 FROM (null) FOR , User not 
known to the underlying authentication module
Oct 23 21:03:18 foo login: pam_unix(login:auth): bad username []
Oct 23 21:03:18 foo login: pam_succeed_if(login:auth): error retrieving 
information about user
Oct 23 21:03:18 foo login: FAILED LOGIN 3 FROM (null) FOR , User not 
known to the underlying authentication module
Oct 23 21:03:20 foo login: pam_unix(login:auth): bad username []
Oct 23 21:03:20 foo login: pam_succeed_if(login:auth): error retrieving 
information about user
Oct 23 21:03:20 foo login: FAILED LOGIN SESSION FROM (null) FOR , User 
not known to the underlying authentication module

And in /var/log/messages:

Oct 23 21:03:20 hobo init: Id "co" respawning too fast: disabled for 5 
minutes

If I reconnect to the SOL console using IPMI, everything's fine 
(assuming init hasn't disabled agetty at the time I connect). Once I 
disconnect, the same thing starts again (again after some delay).

I haven't found any options to agetty that alter this behavior, and the 
BIOS "Redirection after boot" option doesn't alter it either. It's a 
problem because init makes agetty unavailable for 5 minutes at a time, 
and it also causes lots of noise in /var/log/secure.

Does anyone know what I'm missing? I would appreciate any help on this.

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to