*BSD News Article 93871


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsxfer.itd.umich.edu!newsxfer3.itd.umich.edu!news.maxwell.syr.edu!news.apfel.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: syslogd and inn 1.5.1 under FreeBSD 2.1.7-RELEASE
Date: 18 Apr 1997 19:35:45 GMT
Organization: Private BSD site, Dresden
Lines: 27
Message-ID: <5j8ieh$5mt@uriah.heep.sax.de>
References: <ragn6ci0.fsf@pcrown.net> <gergE88sCD.E9t@netcom.com>
  <iv1z71wa.fsf@pcrown.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39322

Phil Crown <pcrown@airmail.net> wrote:

> > 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.
> 
> Try syslogd that ships with RedHat Linux v4.1, it creates the files
> after the HUP signal.  It also logs that syslogd was restarted (not
> sure where, mine ends up in /var/log/messages).

The syslogd restart is logged on any BSD version, too.  However, it's
logged at facility.level `syslog.info', and FreeBSD's default
syslog.conf only records everything with level `notice' (one higher
than `info') and above in /var/log/messages.  You are free to change
this.

If RedHat's syslogd creates files, and you've bought this system, file
them a bug report.  This is a security hole (since there's no way you
can tell syslogd about the owner/group/permissions of the created
file).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)