supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* svlogd: segfault
@ 2004-03-24 14:48 Alex Efros
  2004-03-24 22:11 ` Gerrit Pape
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Efros @ 2004-03-24 14:48 UTC (permalink / raw)


Hi!

Looks like svlogd (runit-1.0.0) will segfault if log/config file is empty:

# rm /var/log/dnscachex/config
# svlogd -tt /var/log/dnscachex
(working, Ctrl-C pressed)

# echo >/var/log/dnscachex/config
# svlogd -tt /var/log/dnscachex
(working, Ctrl-C pressed)

# echo -n >/var/log/dnscachex/config
# svlogd -tt /var/log/dnscachex
Segmentation fault
# 

Compilation details:

CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -funroll-loops"
   GCC: 3.3.2
 GLIBC: 2.3.2
KERNEL: 2.6.3


P.S. BTW, what is *RIGHT WAY* if I don't need any commands in log/config:
	1) delete log/config
	2) echo > log/config
	3) echo '*' > log/config
     ?

-- 
			WBR, Alex.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-29  1:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-24 14:48 svlogd: segfault Alex Efros
2004-03-24 22:11 ` Gerrit Pape
2004-03-29  1:11   ` Clemens Fischer
2004-03-29  1:21     ` Paul Jarc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).