forked from pool/glibc
1c7706889b
Copy from Base:System/glibc based on submit request 20011 from user pbaudis OBS-URL: https://build.opensuse.org/request/show/20011 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=9
17 lines
510 B
Diff
17 lines
510 B
Diff
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.
|
|
|
|
--- login/utmp_file.c~ 2009-06-16 12:36:31.000000000 +0200
|
|
+++ login/utmp_file.c 2009-06-16 12:36:33.000000000 +0200
|
|
@@ -42,7 +42,7 @@
|
|
|
|
/* Locking timeout. */
|
|
#ifndef TIMEOUT
|
|
-# define TIMEOUT 1
|
|
+# define TIMEOUT 30
|
|
#endif
|
|
|
|
/* Do-nothing handler for locking timeout. */
|