summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-08 17:11:30 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-08 17:11:30 -0700
commit8c76eecf50f943b0a7e759f398f6d16dac53dac0 (patch)
treefd3994149511fed21d09d2ff5ec2b3339535e5f1 /debian
parentcbc9578ade6afaf6db039401182b6cfe14e73ff9 (diff)
downloadvyatta-cfg-quagga-8c76eecf50f943b0a7e759f398f6d16dac53dac0.tar.gz
vyatta-cfg-quagga-8c76eecf50f943b0a7e759f398f6d16dac53dac0.zip
Convert from syslog to rsyslog
Configuration file is /etc/rsyslog.conf and it is supports directory of include parameters so do not need to edit rsyslog.conf directly
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in14
1 files changed, 5 insertions, 9 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index daecb83f..8d288e75 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -129,6 +129,11 @@ EOF
# Install pam_cap config
cp $sysconfdir/capability.conf /etc/security/capability.conf
+
+ # Install our own version of rsyslog.conf without
+ # default targets
+ mv /etc/rsyslog.conf /etc/rsyslog.conf.orig
+ cp $sysconfdir/rsyslog.conf /etc/rsyslog.conf
fi
# create needed directories
@@ -177,15 +182,6 @@ if [ -e /etc/default/mdadm ]; then
sed -i 's+^DAEMON_OPTIONS=.*$+DAEMON_OPTIONS="--syslog --program /opt/vyatta/sbin/vyatta-raid-event"+' /etc/default/mdadm
fi
-# --following is added to resolve issues related to bug 3567 on upgrade from hollywood to islavista--
-# back-up existing /etc/syslog.conf file in hollywood which might be broken
-# and replace it with the default syslog.conf in islavista. when system restarts
-# after upgrade, whatever is configured in CLI will be written to syslog.conf
-#
-
-cp -p /etc/syslog.conf /etc/syslog.conf.bak
-cp -f /opt/vyatta/etc/syslog.conf /etc/syslog.conf
-
# remove unnecessary ddclient script in /etc/ppp/ip-up.d/
# this logs unnecessary messages trying to start ddclient
rm -f /etc/ppp/ip-up.d/ddclient