[1737] in Kerberos-V5-bugs
Autoconf portability bug with syslog()/vsyslog()
daemon@ATHENA.MIT.EDU (Sean Mullan)
Tue Dec 5 15:33:03 1995
To: krb5-bugs@MIT.EDU
Cc: mullan_s@apollo.hp.com (Sean Mullan)
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
************************************************************