The error will occur if log files are defined in /etc/syslog.conf
but are then deleted manually by the administrator.
I think the right answer is to add a file test inside the loop and
skip any that can't be stat()'ed:
diff -u syslogd-listfiles.orig syslogd-listfiles
--- syslogd-listfiles.orig
After some work done here, it looks like the *cause* of this error is
when $file is undefined in /usr/sbin/syslogd-listfiles and that only
happens if /etc/syslog.conf mentions a file which actually doesn't
exist. This could happen, I suppose, although I'm not entirely sure
how.
Dave.
--
Dave Ew
2 matches
Mail list logo