[syslog-ng]Having trouble with the options syntax for file
permissions (fwd)
Leonard Mills
Leonard_Mills@corpnet.sel.sony.com
Thu, 14 Feb 2002 19:57:50 +0000
Michael Renner <m.renner@inode.at> At Thu, 14 Feb 2002 09:49:06 +0100 (08:49
>Hi Len!
>destination trash { file("/dev/null" perm(0666)); };
>should work.
I must be denser than I thought, because that dumps core on starting the
daemon:
(gdb) bt
#0 0xc076c11 in kill ()
#1 0xc0c27c9 in abort ()
#2 0x8054842 in fatal ()
#3 0x8054227 in io_set_nonblocking ()
#4 0x8054275 in io_init_fd ()
#5 0x80543e2 in make_io_fd ()
#6 0x804e703 in do_init_dest_writer (c=0x809d708, cfg=0x805f508,
persistent=0x0) at affile.c:220
#7 0x804f032 in affile_find_writer (self=0x809cf88, msg=0x80a7e8c) at
affile.c:669
#8 0x804f18b in do_handle_affile_log (c=0x809cf88, msg=0x80a7e8c) at
affile.c:736
#9 0x804b43d in do_handle_log (c=0x809bf08, msg=0x80a7e8c) at
destinations.c:103
#10 0x804ab79 in do_distribute_log (c=0x80a7e48, msg=0x80a7e8c) at center.c:149
#11 0x804a79b in do_add_source_name (c=0x80bd708, logmsg=0x80a7e8c) at
sources.c:238
#12 0x804f513 in do_handle_afunix_line (c=0x80a7ec8, msg=0x80a7e8c) at
afunix.c:70
#13 0x804a3dc in do_handle_line (self=0x8090008, length=109,
data=0x8090020 "<30>Feb 14 19:52:52 monitor_kern@admin.sjc.in.sel.sony.com[
19699]: connect from hpntbox1.corpnet.sel.sony.com", addr=0x0,
addrlen=0) at sources.c:67
#14 0x804a54a in do_read_line (h=0x809d0d0, read=0x8047858) at sources.c:122
#15 0x80534c3 in read_callback ()
#16 0x8053243 in io_iter ()
#17 0x8049c3e in main_loop (backend=0x805e008) at main.c:174
#18 0x804a345 in main (argc=3, argv=0x80479f8) at main.c:472
#19 0x8049994 in __start ()
Any other ideas?
Len