login seriously broken

Tomasz Pala gotar at polanet.pl
Sat Mar 21 16:38:27 CET 2009


I'm having difficulties during local logins. It manifests by long (about
6 seconds and longer, sometimes much longer) delays when logging in from
tty5-tty8. After checking logs, PAM, stracing and other voodoo I've found
that it's caused by ...DNS lookups of ttyX.domain which obviously would
not work and timeout without network available.

Name        : login                        Relocations: (not relocatable)
Version     : 2.14.2                            Vendor: (none)
Release     : 2                             Build Date: Wed Feb 18 21:21:20 2009
Install Date: Fri Feb 27 16:36:42 2009      Build Host: pld-builders

query.log.0:21-Mar-2009 14:34:36.561 client xx.xx.x.xx#32778: view public: query: tty8.xxxxxxxx.pl IN A +
query.log.0:21-Mar-2009 14:34:36.562 client xx.xx.x.xx#32778: view public: query: tty8.xxxxxxxx.pl IN AAAA +


Older login is even more fucked:

Name        : login                        Relocations: (not relocatable)
Version     : 2.12r                             Vendor: (none)
Release     : 10                            Build Date: Wed Jul 23 00:49:57 2008
Install Date: Thu Nov 27 03:24:49 2008      Build Host: oberon-pld

# last -d
root     tty2         111.163.13.0     Sat Mar 21 14:27 - 14:27  (00:00)    
gotar    tty4         150.92.12.0      Sat Mar 21 14:25 - 14:27  (00:01)    
root     tty3         softbank12603300 Sat Mar 21 14:25 - 14:27  (00:01)    
root     tty1         135.137.14.0     Sat Mar 21 14:25 - 14:26  (00:01)    
root     tty2                          Sat Mar 21 14:24 - 14:27  (00:02)    
root     tty2         243.156.8.0      Fri Mar 20 19:24 - 19:25  (00:00)    
root     tty3         33.45.9.0        Fri Mar 20 19:18 - down   (00:02)    
root     tty2         192.156.3.0      Fri Mar 20 19:17 - 19:20  (00:02)    
reboot   system boot  57.19.4.0        Fri Mar 20 19:16          (00:04)    
root     tty1         38.18.15.0       Fri Mar 20 19:09 - down   (00:00)    
root     tty3         42.234.10.0      Fri Mar 20 19:09 - down   (00:00)    
root     tty2         248.45.5.0       Fri Mar 20 19:07 - 19:09  (00:02)    
reboot   system boot  113.194.10.0     Fri Mar 20 18:39          (00:05)    
root     tty1         170.253.7.0      Thu Mar 19 19:53 - down   (22:33)    
reboot   system boot  143.53.6.0       Thu Mar 19 11:45         (1+06:41)   
reboot   system boot  111.240.8.0      Tue Mar 17 08:16         (3+10:10)   

having login delays and DNS lookups too... WTF?

-- 
Tomasz Pala <gotar at pld-linux.org>


More information about the pld-devel-en mailing list