summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2011-05-05Make ext4 the default file system typeStephen Hemminger
2011-05-04Update grub config to new syntaxStephen Hemminger
The 'terminal' config statement is replaced by terminal_input and terminal_output.
2011-05-04Align install-image partition correctlyStephen Hemminger
Need to pass correct offset for start of root partition
2011-05-03Adjust root partition offset based on disk sizeStephen Hemminger
On tiny disks, then it doesn't make sense to waste space by offsetting root partition. On big disks, it doesn't hurt and it allows for running on SSD.
2011-05-03Make irq affinity handle any irq naming conventionStephen Hemminger
Bug 7032 (reprise) Since there are various forms of multi-queue naming, it is better to just go with the simplest pattern which is to take all the irq's of form ethX-... and sort them.
2011-05-02Fix irq-affinity mapping for multiqueue NIC'sStephen Hemminger
Bug 7032 Fix matchinging of irq's named 'eth0-TxRx-0'. And change the code to handle any form of IRQ naming of multiqueue that is eth0-xxx-0.
2011-04-30Yet another better alignment startStephen Hemminger
Parted has magic value '0%' which causes it to choose optimum alignment (2048 on most disks).
2011-04-30Fix alignment of root partitionStephen Hemminger
Redo Bug 7038 The previous change did nothing; the alignment option only reports alignment, it does not change values. Need to manually reserve space before root partition.
2011-04-28Tell parted to align disk partitionStephen Hemminger
Bug 7038 Align the created disk partition for both install-system and initial install-image. Note: can't fix existing systems where disk is already partitioned. They will just have to suffer with poor performance.
2011-04-20Fix Bug 6811 ENH: add a proper post-configuration boot scriptMohit Mehta
* added /config/scripts/vyatta-postconfig-bootup.script that gets called from /etc/rc.local. Users/Support can put in any workarounds in the script for unfixed bugs and enhancements that are not in Vyatta yet. Placing the script under /config makes sure that changes to the script will be preserved for the new image
2011-04-18* run start-up script vyatta-config-reboot-params very early in boot processMohit Mehta
This script executes scripts lying in the following directory: /opt/vyatta/bin/sudo-users/check-params-on-reboot.d Scripts in check-params-on-reboot.d are intended for parameters that require a reboot to take effect after they are set/changed. Because of the reboot requirement, underlying value and related config paramter value can become out-of-sync in couple of cases: 1. change parameter value, don't save config, reboot. Underlying value is different than the value in config file. 2. install new image; when new image boots, underlying value is the default Vyatta shipped value not the value in config file. More info: http://bugzilla.vyatta.com/show_bug.cgi?id=6915#c1 This check-in also adds ipv6_disable_blacklist script in check-params-on-reboot.d to fix the above mentioned problem for 'system ipv6 disable' and 'system ipv6 blacklist'
2011-04-13* Add help and checks for VRRP transition-script nodesMohit Mehta
to push users towards putting scripts in /config/scripts
2011-04-13fix typo in irq-affinityStephen Hemminger
2011-04-13Fix irq naming convention mapping codeStephen Hemminger
The mislabeled commit ddce08161907797fe914ba609b362d812e23fc8a Fix wrong name in get_irq_affinity Was some code to handle Broadcom device IRQ naming convention that was untested. The part that built regex was incorrectly expanding a string with regex characters.
2011-04-13Bonding script typoStephen Hemminger
Was using 'smp_affinity' where code meant 'get_irq_affinity'
2011-04-10Fix wrong name in get_irq_affinityStephen Hemminger
2011-03-30Merge branch 'napa' of 192.168.230.2:vyatta/napa/vyatta-cfg-system into napaStephen Hemminger
2011-03-30Reset irq affinity when adding interface to bond groupStephen Hemminger
Bug 6947 When adding device to bond-group, restore smp affinity
2011-03-25Fix use of uninitialized ospeedStephen Hemminger
If speed can not be determined then ospeed is undef.
2011-03-16Handle irq assignment on multiqueue NICStephen Hemminger
Bug 6845, 6821 Need to avoid using /sys/class/net/ethX/device/irq (or /sys/bus/pci/.../irq) because these don't handle MSI or multiqueue. This also resolves issues with Vmware/ESX.
2011-03-11Speed/duplex setup improvementsStephen Hemminger
Bug 6906 1. Fix parsing of 'Unknown' Speed in regex 2. Don't error if device can not get current speed/duplex 3. Do error if ethtool fails when setting speed/duplex
2011-03-10fix for bug 6081. Warning, but allow commit to proceed if duplicate address ↵Michael Larson
is found.
2011-03-08Fix typo in domain name regexStephen Hemminger
meant to allow any upper (or lower case) in domain name.
2011-03-08Test for ipv6 blacklist when configuring SNMPStephen Hemminger
Bug 6432 Since IPv6 can be disabled several ways and the config may not match the system, use socket to test if IPv6 is disabled.
2011-03-07Fix SNMP ifAlias for more than 10 devicesStephen Hemminger
Bug 6853 Handle OID format when ifIndex is 10 or greater. Needed to fix regex parsing. Also allow symbolic OID.
2011-03-03Fix network name scan for wirelessStephen Hemminger
Bug 6818 The regex to extract wireless name was incorrect. Recode for clarity rather than adding more complex regex.
2011-03-02Fix script to handle more than 10 interfacesStephen Hemminger
Bug 6861 Fix submitted by devolish <ole.myhre@dataoppdrag.no>
2011-03-01Warn if attempting to force mask on multiqueue NICStephen Hemminger
Bug 6845 Warn (and ignore) attempt to assign IRQ directly on multiqueuej NIC.
2011-02-25Workaround Xen NIC addressStephen Hemminger
Bug 6837 Xen does not behave like normal hardware. It assigns a random MAC address (with local bit set).
2011-02-25Change where ipv6 route table size is increasedStephen Hemminger
Can't do it early in boot because ipv6 module may not be loaded.
2011-02-25Validate domain and host nameStephen Hemminger
Bug 6243 More complete validation of host name and domain name
2011-02-25Don't set irq affinity if device is disabledStephen Hemminger
Bug 6784 No point in trying to force affinity if device is offline.
2011-02-22Handle Vmware mulitqueue naming conventionStephen Hemminger
Adapt to irq naming convention in 2.6.37 kernel for vmxnet3 driver.
2011-02-21Handle case of device with no active IRQStephen Hemminger
Bug 6784 Disabled device has no IRQ, so don't change it.
2011-02-18Use standard mechanism to start/stop snmpStephen Hemminger
The net-snmp has snmpd.init script which is installed in standard place. Invoke it with standard mechanism to avoid any security or other problems. Also allows debugging snmpd by changing /etc/default/snmp.
2011-02-03Bugfix 6773: Spread load of single-queue NICs across all CPUs.Bob Gilligan
The initial CPU selection function needs to take hyperthreading into account.
2011-02-01Bugfix 6156: Allow time for renaming to complete before running biosdevnameBob Gilligan
It appears that biosdevname can be confused if interface renaming is being performed by other udev worker processes at the same time that it is running. Since vyatta_net_name does protect the body of its code with a lock, we can be sure that no other renaming will be started in other udev worker processes while this one is running in vyatta_net_name. But renaming being performed by other udev worker processes that were triggered by previous executions of vyatta_net_name may still be in progress. This change gives any interface renaming that was called for by previous invocations of vyatta_net_name a chance to complete before we call biosdevname. (cherry picked from commit 9dd41e8481e84bf80fcb0e9c3d7843c8a0b20059)
2011-01-31Fix grammar error in help string.Robert Bays
(cherry picked from commit a943568e64bca73bb2951e968d0cc752d72874ab)
2011-01-31Fix Bug 6696 Internal error for release/renew dhcp interface under op modeMohit Mehta
* do not execute config-mode actions when called from op-mode (cherry picked from commit c385ddc400788eff46f10fea6b57b593607dc290)
2011-01-26Fix vrrp duplicate generation of last sync-group entry.Stig Thormodsrud
(cherry picked from commit 8529fbe7ed23023e936f5c7cab9663007d0476d3)
2011-01-25Fix 6501: "clear vrrp master interface <interface> group <group>" doesnt ↵Stig Thormodsrud
work with sync groups. (cherry picked from commit 34972b97e834d66147e91c071a1c1caabe18f76f)
2011-01-25Pass interface name correctly when deleting dhcpv6Stephen Hemminger
Bug 6726 Typo in vyatta-address script conversion from perl to shell (cherry picked from commit 4a319dd3a0aa95a92067fa677ad2e5d94534044b)
2011-01-24Don't fail if config.boot does not existStephen Hemminger
Bug 6718 On livecd config.boot does not exist yet, so no existing hw-id mappings. (cherry picked from commit 37bbcaef6083a843cb3dd9976854a30ab7cebe16)
2011-01-24Add more debug outputStephen Hemminger
Put more messages in to help debug current problem and future ones (cherry picked from commit 8cc21571cb4efde31f3cf6b58ad8e3d80d4487cf)
2011-01-24Add logging to coldplugStephen Hemminger
Log to file /dev/udev/net-name.log since that is available tmpfs (cherry picked from commit 15ce02d66348ed35308f5813991e171d74561248)
2011-01-24Revert "Add debug logging."Stephen Hemminger
This reverts commit b1af934db367d589cf7c78b84e2181a1e72b2aaf. Loggging to /var/log does not work during boot. The root filesystem is read-only when udev is running this script. (cherry picked from commit 47301dbc029652f97847c9288d58c951db56d916)
2011-01-20Add debug logging.Bob Gilligan
This restores logging that we had in the previous release, which has proven useful in troubleshooting interface renaming problems.
2011-01-20Change for rsyslog reloadStephen Hemminger
Bug 6663 (cherry picked from commit fa7d81f125033b7ed4bd549eb6905918612a6877)
2011-01-20Remove call to tshark during vrrp state transition.Stig Thormodsrud
(cherry picked from commit f2ff192de653b5540c9a3e51cf4d1cf19d527e4e)
2011-01-19Bugfix 6684: Don't delete wanpipe config files.Bob Gilligan
The wanpipe config files are managed by the vyatta-serial package. So this package should not touch them. (cherry picked from commit 256bf73dda76b68fe756c5299b0732336dc60e8a)