summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2006-02-16 14:31:06 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2006-02-16 14:31:06 +0000
commite7dc22fe910048f32561989e27a08dd7fb59e005 (patch)
treeac324f96fcf6f5bb12a91b6702f0d983fc304d63
parent0faf9d9dbaa92266dcaa62d552b12cc922b55d9d (diff)
downloadrsyslog-e7dc22fe910048f32561989e27a08dd7fb59e005.tar.gz
rsyslog-e7dc22fe910048f32561989e27a08dd7fb59e005.tar.xz
rsyslog-e7dc22fe910048f32561989e27a08dd7fb59e005.zip
compiles & runs on Solaris, but not as local logger
-rw-r--r--solaris/Makefile24
-rw-r--r--syslogd.c3
2 files changed, 21 insertions, 6 deletions
diff --git a/solaris/Makefile b/solaris/Makefile
index efb04144..a36eb87d 100644
--- a/solaris/Makefile
+++ b/solaris/Makefile
@@ -1,9 +1,25 @@
# Makefile for rsyslog
-# Copyright (C) 2004, 2005 Rainer Gerhards and Adiscon GmbH
-# This is the distro-specifc part of the Makefile.
-# This makefile here should be suitable for all flavours
-# of linux.
+# Copyright (C) 2004-2006 Rainer Gerhards and Adiscon GmbH
+# This is the Solaris part of the Makefile.
# For details, see http://www.rsyslog.com/doc
+#
+# C A U T I O N
+# So far, I have just make sure that rsyslog compiles under
+# Solaris. I have NOT used the RFC 3195 options, but that
+# should work, too, as liblogging cleanly compiles under
+# Solaris. I have done only very limited testing. From that,
+# it *seems* to work, but Solaris support is still experimental.
+# IT IS KNOWN THAT THE LOCAL LOG SOCKET SEEMS **NOT** TO WORK.
+# This seems to be related to using a different interface for
+# /dev/log than Linux and BSD. I am evaluating this problem,
+# but for the time being rsyslogd seems to be unable to act
+# as a local logger. But you can run it alongside the Solaris
+# stock syslogd.
+#
+# I will only look into this issue if people show up that
+# ask for local logging under Solaris. So please speak up
+# if you would like to see it!
+#
#############################################################
# USER SETTINGS #
diff --git a/syslogd.c b/syslogd.c
index e4b686b2..7e9b4f6a 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -329,7 +329,6 @@ CODE facilitynames[] =
#endif
#endif
-
/* The following #ifdef sequence is a small compatibility
* layer. It tries to work around the different availality
* levels of SO_BSDCOMPAT on linuxes...
@@ -6123,7 +6122,7 @@ static void init()
*/
continue;
if ((funix[i] = create_unix_socket(funixn[i])) != -1)
- dprintf("Opened UNIX socket `%s'.\n", funixn[i]);
+ dprintf("Opened UNIX socket `%s' (fd %d).\n", funixn[i], funix[i]);
}
#endif