From 4c15e64167ee8408ef2d9f8f186644665ac0d588 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 15 Mar 2011 09:33:01 -0700 Subject: 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. --- debian/vyatta-cfg-system.postinst.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian') 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/' \ -- cgit v1.2.3