On Tue, 23 Aug 2005, Charles Majola wrote:
what arch? i can't seem to reproduce this with i386 and i686
I can confirm this on i386. System is stock sarge. syslogd was built
locally from debian source packages with a small local patch (at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=273269) to syslogd.c to
prevent dns lookups for remote loggers.
-Chris
~# cat /etc/debian_version
3.1
~# ls -l /var/log/mail.20050824.0000
-rw-r----- 1 root staff 2147483647 Aug 24 13:56 /var/log/mail.20050824.0000
~# cat /root/syslog.conf
mark.* -/var/log/mail.20050824.0000
~# strace -o /tmp/out /sbin/syslogd -f /root/syslog.conf -z -p /log -d -m 1
~# tail /tmp/out
alarm(30) = 0
sigreturn() = ? (mask now [])
select(4, [3], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be
restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
time(NULL) = 1124920501
rt_sigprocmask(SIG_BLOCK, [HUP ALRM], NULL, 8) = 0
time([1124920501]) = 1124920501
writev(4, [{"Aug 24 14:55:01", 15}, {" ", 1}, {"logs", 10}, {" ", 1}, {"-- MARK --", 10},
{"\n", 1}], 6) = -1 EFBIG (File too large)
--- SIGXFSZ (File size limit exceeded) @ 0 (0) ---
+++ killed by SIGXFSZ +++
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]