summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-03-15 09:33:01 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-03-15 09:33:01 -0700
commit4c15e64167ee8408ef2d9f8f186644665ac0d588 (patch)
tree68c31c707032f410caee2284f818925e789efab7
parent980cf1927bc30d882be1885b1acde49310287232 (diff)
downloadvyatta-cfg-system-4c15e64167ee8408ef2d9f8f186644665ac0d588.tar.gz
vyatta-cfg-system-4c15e64167ee8408ef2d9f8f186644665ac0d588.zip
Remove rsyslog logrotate file
Bug 6715 Vyatta configures syslog, and does not use the same files as Debian (typically). The logrotate file in the distribution assumes there are files like auth.log etc which Vyatta doesn't have.
-rw-r--r--debian/vyatta-cfg-system.postinst.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 475ae699..1b9752d3 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -30,6 +30,9 @@ if [ -d /etc/udev/rules.d/ ]; then
rm -f /etc/udev/rules.d/*vyatta-net.rules
fi
+# Remove rsyslog logrotate since it has hardcoded assumptions about syslog files
+rm -f /etc/logrotate.d/rsyslog
+
# Force screenblanker to be off, it can be enabled later if desired
if [ -f /etc/console-tools/config ]; then
sed -i -e '/^POWERDOWN/s/=.*$/=0/' \