*BSD News Article 92972


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!ix.netcom.com!gerg
From: gerg@netcom.com (Greg Andrews)
Subject: Re: syslogd and inn 1.5.1 under FreeBSD 2.1.7-RELEASE
Message-ID: <gergE88sCD.E9t@netcom.com>
Organization:  Deep Thought of the Day:  A day without sunshine is like night.
References: <ragn6ci0.fsf@pcrown.net>
Date: Mon, 7 Apr 1997 00:36:13 GMT
Lines: 28
Sender: gerg@netcom23.netcom.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38602

Phil Crown <pcrown@airmail.net> writes:
>
>#
># INN
>#
>news.crit					/var/log/news/news.crit
>news.err                                        /var/log/news/news.err
>news.notice					/var/log/news/news.notice
>news.info					/var/log/news/news.info
>

Did you create those files before sending the HUP signal to syslogd?

Syslogd doesn't create files at startup time or when it gets a HUP
signal.  It only opens the ones that already exist.  At least, that's
the way syslogd has been in all the Unixes I've worked on.

The man page for syslog.conf in my v2.1.6 install drops a small hint
about this by saying when the second field (the "action" field) is a
pathname, the selected messages are "appended" to the file.  The man
page for syslogd doesn't say anything on the topic.

  -Greg
-- 
:::::::::::::::::::  Greg Andrews  gerg@netcom.com  :::::::::::::::::::
I have a map of the United States that's actual size.
                   -- Steven Wright
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::