Package: klogd
Version: 1.5-5
Severity: normal
Hello. I've investigated this problem a little further since I've hit
it. I run an etch vserver host with etch and lenny (some not fully
upgraded and one that I've just upgraded from etch to lenny today). With
etch klogd, it does not start, but it is very fast. lenny version,
however, seemed to never finish. I tried stracing it, but ended up
diffing the code and noticed a very peculiar change:
--- sysklogd-1.4.1/klogd.c 2001-03-11 16:40:10.000000000 -0300
+++ sysklogd-1.5/klogd.c 2007-06-17 16:21:55.000000000 -0300
@@ -1087,7 +1086,16 @@
setsid();
}
else
- exit(0);
+ {
+ /*
+ * Parent process
+ */
+ sleep(300);
+ /*
+ * Not reached unless something major
went wrong.
+ */
+ exit(1);
+ }
Then, learn patience, friend, cause in five minutes, your server is
gonna boot (or your upgrade is gonna finish properly, with all packages
duely configured). :-D
Well, I think this is too much time and I don't even know sleeping gets
any advantage at all. If there's any reason to that, I would like to
know. The parent ain't waiting for its children no more, so that's no
reason, it seems.
Hope this helps,
Cascardo.
-- System Information:
Debian Release: squeeze/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500,
'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-rc8-00001-g76e9c98
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages klogd depends on:
ii libc6 2.9-6 GNU C Library: Shared libraries
ii sysklogd [system-log-daemon] 1.5-5 System Logging Daemon
klogd recommends no packages.
klogd suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]