Hi,
I am still having problems with the "aiccu" package (SixXS IPv6 tunnel
software) when running in "daemon" mode. It works OK when "daemonize
false" is specified in the configuration file.
The first problem is that in daemon mode the log messages are sent to
syslog but do not appear in any file in /var/log.
The logging is done by aiccu function dologA(), defined in file
aiccu/common/common.c and the relevant line is:
vsyslog(LOG_LOCAL7|level, fmt, ap);
The "LOG_LOCAL7" is a syslog "facility" which is not covered by our
current /etc/syslog-ng/syslog-ng.conf and when I add an entry to log
facility "local7" the aiccu messages appear in the file I specify.
I believe this is a difference from the "old" (i.e. syslog rather than
syslog-ng) behaviour, but I forget which files the aiccu messages used
to go to.
It seems that we also have syslog-ng configuration problems with
Shorewall, since only startup messages are going
to /var/log/shorewall.log and the "DROP" and similar messages are
repeated in several of the other logfiles (and on /dev/console).
The second (bigger) problem with "aiccu" is that in daemon mode it hangs
and has to be killed manually. I have traced the hang to aiccu function
tun_reader() defined in file common/aiccu/tun.c The line:
n = read(tun_fd, buf, sizeof(buf));
never returns.
Google tells me that there was a similar problem on OpenWrt
(https://dev.openwrt.org/ticket/6659) but that "went away".
I will continue debugging when I get more time, over the next few days.
davidMbrooke
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel