Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA28934; Tue, 5 Dec 95 15:33:02 EST
Received: from ns.hp.com by MIT.EDU with SMTP
	id AA14482; Tue, 5 Dec 95 15:31:09 EST
Received: from it_750.ch.apollo.hp.com by ns.hp.com with ESMTP
	(1.37.109.16/15.5+ECS 3.3) id AA158915531; Tue, 5 Dec 1995 12:32:12 -0800
Message-Id: <199512052032.AA158915531@ns.hp.com>
Received: from nyc.ch.apollo.hp.com by it_750.ch.apollo.hp.com 
	id AA155105550; Tue, 5 Dec 1995 15:32:30 -0500    
To: krb5-bugs@MIT.EDU
Cc: mullan_s@apollo.hp.com (Sean Mullan)
Subject: Autoconf portability bug with syslog()/vsyslog()
Date: Tue, 05 Dec 1995 15:30:50 -0500
From: Sean Mullan <mullan_s@apollo.hp.com>


Krb5 version: V5 Beta 4
Platform: HP-UX 9.03

The autoconf tool looks for vsyslog() and if it doesn't find
it, links in lib/krb5/posix/syslog.o which contains source
for vsyslog, syslog, openlog, closelog

However, some systems such as HP-UX have versions of syslog,
openlog, closelog but not vsyslog.

The autoconf tool should look for vsyslog separately from the
other syslog APIs. There should be a file called vsyslog.c
which just contains source for vsyslog().

Also, the syslog() routines which are provided by krb5 do
not work on HP-UX but I did not investigate much. More specifically,
the LOG_NDELAY flag to openlog causes a ENOTSOCK error, and
subsequent calls to syslog cause a EDESTADDRREQ error.

--Sean

************************************************************
Sean Mullan                    Phone: (508) 436-4129
Hewlett-Packard Co.         Internet: mullan_s@apollo.hp.com
300 Apollo Drive                 Fax: (508) 436-5140
Chelmsford, MA 01824
************************************************************
