diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-10-22 02:01:03 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-10-22 02:01:03 -0700 |
commit | 556580381ed0008c463aa0dd109f839f140f3443 (patch) | |
tree | c4379aac4718a62beadace5a57076b116ce6776a /debian/vyatta-cfg-system.postinst.in | |
parent | 43c3c737ae7dc7c89d46359e8cd2ada2bc281f5b (diff) | |
download | vyatta-cfg-system-556580381ed0008c463aa0dd109f839f140f3443.tar.gz vyatta-cfg-system-556580381ed0008c463aa0dd109f839f140f3443.zip |
Fix Bug 3567 Debug messages are not logged by default on upgraded system
- copy over default islavista syslog.conf during upgrade from hollywood
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 21d7ff32..e9541dbe 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -118,6 +118,15 @@ 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 + # Local Variables: # mode: shell-script # sh-indentation: 4 |