2009-09-10 12:38:51 +02:00
|
|
|
On extremely loaded systems, the default timeout may not be enough and some
|
|
|
|
entries may not appear in the utmp log. With 30s login delay, the system
|
|
|
|
should still stay usable for repair in case the utmp locking somehow breaks
|
|
|
|
down.
|
|
|
|
|
2009-11-16 09:54:19 +01:00
|
|
|
Index: login/utmp_file.c
|
|
|
|
===================================================================
|
|
|
|
--- login/utmp_file.c.orig
|
|
|
|
+++ login/utmp_file.c
|
|
|
|
@@ -45,7 +45,7 @@ static struct utmp last_entry;
|
2009-09-10 12:38:51 +02:00
|
|
|
|
|
|
|
/* Locking timeout. */
|
|
|
|
#ifndef TIMEOUT
|
|
|
|
-# define TIMEOUT 1
|
|
|
|
+# define TIMEOUT 30
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Do-nothing handler for locking timeout. */
|