Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 11:24:58 +1030
From:      Greg Lehey <grog@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc Makefile newsyslog.conf syslog.conf
Message-ID:  <20020312112458.F56793@wantadilla.lemis.com>
In-Reply-To: <Pine.NEB.3.96L.1020311191352.50635B-100000@fledge.watson.org>
References:  <20020312103527.W36158@wantadilla.lemis.com> <Pine.NEB.3.96L.1020311191352.50635B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 11 March 2002 at 19:25:26 -0500, Robert Watson wrote:
>
> On Tue, 12 Mar 2002, Greg Lehey wrote:
>
>> On Monday, 11 March 2002 at 11:34:57 -0800, Robert Watson wrote:
>>> rwatson     2002/03/11 11:34:57 PST
>>>
>>>   Modified files:
>>>     etc                  Makefile newsyslog.conf syslog.conf
>>>   Log:
>>>   Turns out everyone is a lot lazier than I thought.  Spell
>>>   'authentication.log' as 'auth.log'.
>>
>> OpenBSD calls this file authlog.  Is there really sufficient reason for
>> being gratuitously different?
>
> I was unaware they had such a file. 

So was I until I tripped over it by chance yesterday.

> The primary choices seemed to be, based on existing filenames in
> /var/log:
>
> 	auth.log
> 	auth
> 	authentication.log
> 	authentication
>
> The recent trend has been to append '.log' to the end of the files,
> so I went to authentication.log.  It was later pointed out that
> people writing scripts couldn't use tab completion, and I also
> observed that the name of the facility in syslog was AUTH, and went
> to auth.log.  There's no precedent for log files without a '.'
> between the category and the "log" string in FreeBSD.

Your logic is flawless.  But for whatever reason, both NetBSD and
OpenBSD use "authlog", and so introducing this name would be a
gratuitous difference.

> FWIW, here's a survey of other OS's I had on hand:
>
> BSD/OS					/var/log/secure
> RedHat					/var/log/secure
> NetBSD					/var/log/authlog
> Debian					/var/log/auth.log
> Solaris					/var/log/authlog
> TCP Wrappers installation		/var/log/auth.log
> Various other Solaris			/var/log/auth.log

So Linux and Solaris can't make up their minds, but so far the free
BSDs are consistent.

I don't really have a good answer for this.  It makes sense to have
auth.log to stay compatible with other names, and it makes sense to
have authlog to stay compatible with other BSDs.  Which wins?

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020312112458.F56793>