Displaying 1 result from an estimated 1 matches for "rsyslog_main_config".
2009 Aug 11
1
[PATCH node] Added support for remote logging with rsyslog-gssapi to node. NOTE: Needs selinux to be set to permissive (setenforce 0) to work.
...pts/ovirt-managed-rsyslog
new file mode 100755
index 0000000..7f7e07a
--- /dev/null
+++ b/scripts/ovirt-managed-rsyslog
@@ -0,0 +1,72 @@
+#!/bin/bash
+#
+# Configures the rsyslog daemon
+# for managed ovirt node.
+# Source functions library
+. /etc/init.d/functions
+. /etc/init.d/ovirt-functions
+
+rsyslog_main_config="/etc/rsyslog.conf"
+sysconfig_file="/etc/sysconfig/rsyslog"
+
+find_srv rsyslog tcp
+if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
+ echo "/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab rsyslog/`hostname`" >> $sysconfig_file
+else
+...