Hi,

I have a pair of firewalls with identical syslog.conf files. Nothing
special, just removed all the comments, and added a few lines for npppd
log redirection:

#       $OpenBSD: syslog.conf,v 1.17 2005/05/25 07:35:38 david Exp $
# npppd by pacija
!!npppd
*.*                                                     /var/log/npppd
!*
*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
kern.debug;syslog,user.info                             /var/log/messages
auth.info                                               /var/log/authlog
authpriv.debug                                          /var/log/secure
cron.info                                               /var/cron/log
daemon.info                                             /var/log/daemon
ftp.info                                                /var/log/xferlog
lpr.debug                                               /var/log/lpd-errs
mail.info                                               /var/log/maillog
*.emerg                                                 *

If I rsync syslog.conf from one firewall to another and restart
syslogd, everything works as expected. However, if I list file contents
with cat in ssh session on one firewall and paste it in vi in ssh
session on another one, although I get expected terminal output:

pacija@nat2:~ $ sudo /etc/rc.d/syslogd restart 
syslogd(ok)
syslogd(ok)

Only syslogd exiting (and not consequent start) is logged:
May  3 00:36:57 nat2 syslogd: exiting on signal 15

After this syslogd is shown as running but nothing gets logged
to messages, authlog etc.

pacija@nat2:~ $ ps ax | grep syslog
27166 ??  Ss      0:00.01 syslogd: [priv] (syslogd)
 2840 ??  S       0:00.00 /usr/sbin/syslogd
29084 p0  R+      0:00.00 grep syslog

Is this just my system or someone can reproduce this? What could be the
reason for this?

Thank you in advance,
-- 
Marko Cupać
https://www.mimar.rs

Reply via email to