From 8619e721c4b62085a8fa83c4284b0d87d477d453 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Sun, 16 Jan 2011 22:58:22 -0800 Subject: Bugfix 6156: Policy must be given on command line. In the new version of biosdevname (version 0.3.4), the default policy generates interface names of the form "em1". That's not the naming convention that we use. The "all_ethN" policy does use the traditional ethernet naming convention. (cherry picked from commit f05a91c02e27bb19717ddf8e1ffc07ed7b1bbbc5) --- scripts/vyatta_net_name | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name index d34624ae..43bed36d 100755 --- a/scripts/vyatta_net_name +++ b/scripts/vyatta_net_name @@ -82,7 +82,7 @@ sub biosdevname { # biosdevname renames wlanX to ethX ?? if ($ifname =~ /^eth/) { - my $biosname = `/sbin/biosdevname -i $ifname`; + my $biosname = `/sbin/biosdevname --policy all_ethN -i $ifname`; chomp $biosname; return $biosname if ($biosname ne ''); -- cgit v1.2.3 From bdcb00f49def04bde4fcd0e6cf3511c37f0a68b8 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Sun, 16 Jan 2011 23:06:38 -0800 Subject: 0.19.27 --- debian/changelog | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index d91d41db..b6a268ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +vyatta-cfg-system (0.19.27) unstable; urgency=low + + [ Stephen Hemminger ] + * Change priority of bonding device address + + [ Bob Gilligan ] + * Bugfix 6156: Policy must be given on command line. + + -- Bob Gilligan Sun, 16 Jan 2011 23:06:37 -0800 + vyatta-cfg-system (0.19.26) unstable; urgency=low [ Stephen Hemminger ] -- cgit v1.2.3 From 71a31ff516ef63f5ce52ca1bca17e10497a6a15d Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 17 Jan 2011 19:43:14 -0800 Subject: Bugfix 6668: Check to see if log files need rotation hourly. Previously, log file rotation was checked by cron daily. Some log file -- such as those generated by PPP -- can grow rapidly. Such infrequent checking can lead to running out of disk space on systems with small disk drives or flash storage. This change checks for rotation hourly. --- Makefile.am | 3 +++ sysconf/vyatta-logrotate-hourly | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 sysconf/vyatta-logrotate-hourly diff --git a/Makefile.am b/Makefile.am index ee53e446..501c8005 100644 --- a/Makefile.am +++ b/Makefile.am @@ -99,6 +99,9 @@ udevrulesdir = /lib/udev/rules.d libudev_SCRIPTS = scripts/vyatta_net_name udevrules_DATA = sysconf/65-vyatta-net.rules +cronhourlydir = /etc/cron.hourly +cronhourly_SCRIPTS = sysconf/vyatta-logrotate-hourly + rsyslogdir = /etc/rsyslog.d rsyslog_DATA = sysconf/vyatta-log.conf diff --git a/sysconf/vyatta-logrotate-hourly b/sysconf/vyatta-logrotate-hourly new file mode 100644 index 00000000..055b4d5f --- /dev/null +++ b/sysconf/vyatta-logrotate-hourly @@ -0,0 +1,5 @@ +#!/bin/sh + +test -x /usr/sbin/logrotate || exit 0 +/usr/sbin/logrotate /etc/logrotate.conf + -- cgit v1.2.3 From 12c13ef43b1f9f170d9b402d745e0b6f3357d73e Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 17 Jan 2011 19:47:35 -0800 Subject: 0.19.28 --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index b6a268ae..23b49d85 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +vyatta-cfg-system (0.19.28) unstable; urgency=low + + * Bugfix 6668: Check to see if log files need rotation hourly. + + -- Bob Gilligan Mon, 17 Jan 2011 19:47:35 -0800 + vyatta-cfg-system (0.19.27) unstable; urgency=low [ Stephen Hemminger ] -- cgit v1.2.3 From 40c8ee2b2473778f4b8000dfb8a5c71a05dc4744 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 17 Jan 2011 23:03:59 -0800 Subject: Bugfix 6687: Need to explicitly specify the RAID metadata version number. (cherry picked from commit 5de8a194db56c51c9e5541cca43423f11534ffb7) --- scripts/install-system | 2 +- scripts/install/install-get-partition | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-system b/scripts/install-system index 17adb98c..9a860d63 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -469,7 +469,7 @@ check_for_new_raid () { echo "Creating RAID-1 group on partitions: /dev/${drive1}${data_dev} /dev/${drive2}${data_dev}" raid_dev=md0 - mdadm --create /dev/$raid_dev --level=1 --raid-disks=2 /dev/${drive1}${data_dev} /dev/${drive2}${data_dev} + mdadm --create /dev/$raid_dev --level=1 --raid-disks=2 --metadata=0.90 /dev/${drive1}${data_dev} /dev/${drive2}${data_dev} if [ $? = 0 -a -e /dev/$raid_dev ]; then echo "RAID-1 group created successfully:" diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index 50ba7505..9b7aa259 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -306,7 +306,7 @@ check_for_new_raid () { echo "Creating RAID-1 group on partitions: /dev/${drive1}${data_dev} /dev/${drive2}${data_dev}" raid_dev=md0 - mdadm --create /dev/$raid_dev --level=1 --raid-disks=2 \ + mdadm --create /dev/$raid_dev --level=1 --raid-disks=2 --metadata=0.90 \ /dev/${drive1}${data_dev} /dev/${drive2}${data_dev} if [ $? = 0 -a -e /dev/$raid_dev ]; then -- cgit v1.2.3 From 7bd52e84a6ea142ddc8384956faf131ed982cfc0 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 17 Jan 2011 23:05:44 -0800 Subject: 0.19.29 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 23b49d85..49133358 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vyatta-cfg-system (0.19.29) unstable; urgency=low + + * Bugfix 6687: Need to explicitly specify the RAID metadata version + number. + + -- Bob Gilligan Mon, 17 Jan 2011 23:05:43 -0800 + vyatta-cfg-system (0.19.28) unstable; urgency=low * Bugfix 6668: Check to see if log files need rotation hourly. -- cgit v1.2.3