Hello
I'm running Unstable and I am having some very (IMO) weird trouble with
syslog-ng. In a nutshell, it just dies when I try to log anything to it,
every other time.... Long story, including 'logs' follows:
freki:~# /etc/init.d/syslog-ng restart
Stopping system logging: syslog-ng.
Starting system logging: syslog-ng.
freki:~# ps aux | grep syslog-ng | grep -v grep
root 1468 0.0 0.6 1600 784 ? S 07:50 0:00 /sbin/syslog-ng
freki:~# logger willdie
freki:~# ps aux | grep syslog-ng | grep -v grep
freki:~# /etc/init.d/syslog-ng start
Starting system logging: syslog-ng.
freki:~# ps aux | grep syslog-ng | grep -v grep
root 1482 0.0 0.6 1600 784 ? S 07:50 0:00 /sbin/syslog-ng
freki:~# logger willnotdie
freki:~# ps aux | grep syslog-ng | grep -v grep
root 1482 0.0 0.6 1608 828 ? S 07:51 0:00 /sbin/syslog-ng
As if this weren't enough, it seems to blindly obey Murhpy's laws as it
will not die if started in debugging mode. On the other hand, it will
die as soon as I attach strace to it, again, every other time...
freki:~# ps aux | grep syslog-ng | grep -v grep
root 1482 0.0 0.6 1608 828 ? S 07:50 0:00 /sbin/syslog-ng
freki:~# strace -p 1482
time(NULL) = 1034398350
poll([{fd=11, events=0}, {fd=10, events=0}, {fd=9, events=0}, {fd=8, events=0}, {fd=7, events=0}, {fd=6, events=0}, {fd=5, events=POLLIN}, {fd=3, events=POLLIN}], 8, 100) = 0
poll(
(waits for something to happen, I'd say, as is normal.)
freki:~# /etc/init.d/syslog-ng restart
Stopping system logging: syslog-ng.
Starting system logging: syslog-ng.
freki:~# ps aux | grep syslog-ng | grep -v grep
root 1482 0.0 0.6 1608 828 ? S 07:51 0:00 /sbin/syslog-ng
freki:~# strace -p 1482
_exit(0) = ?
This behaviour is consistent, tried about 30 times so far, only dies
every other time...
Using the Sid version of it, 1.5.20-1, the rest of the system is fairly
up-to-date, dist-upgraded about 12 hours ago
My question is, being at a tolal loss, what else can I try?
--
PGP public key: http://www.wolfheart.ro/pubkey.asc
Attachment:
signature.asc
Description: This is a digitally signed message part