aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* network-functions: reeplace iwconfig with iwValdis Kletnieks2014-12-101-2/+2
|
* improve_check_for_bond_master_in_install_bonding_driverAshish Samant2014-12-081-2/+14
| | | | | | | | | | | | | | | | | | The current grep check (fgrep -sqx) in install_bonding_driver, to determine whether bond master exists, fails when there are multiple bond masters. The fix assumes that multiple bond masters are on different lines in the file "/sys/class/net/bonding_masters", while they are in fact on the same line. Since fgrep -sqx checks for the entire line,it will never match any one bond master within the line and always fail if there are multiple bonds. This patch improves the check by creating a new function, bond_master_exists() to handle this and other conditions. Orabug: 19897586 Signed-off-by: Ashish Samant <ashish.samant@oracle.com> Signed-off-by: John Haxby <john.haxby@oracle.com> Acked-by: Mukesh Kacker <mukesh.kacker@oracle.com>
* 9.59-1initscripts-9.59-1Lukas Nykryn2014-11-121-1/+4
|
* adjust LINKDELAY when STP is onLaine Stump2014-11-121-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1162822 When ifup is called on an interface that has BOOTPROTO=dhcp, ifup-eth will call network-functions:check_link_down() to wait for carrier on the interface before starting dhclient. If the interface happens to be a bridge device, carrier will not come on until at least one attached device is in "forwarding" mode. If the bridge has STP enabled, it takes at least $DELAY * 2 + 5 seconds (sometimes slightly longer) for any attached device to go into forwarding mode. However, check_link_down() will only wait for max(${LINKDELAY}, 5) seconds for carrier, and there are *many* existing configs that have STP enabled but no setting for LINKDELAY. Every one of those configs will now fail to ifup the bridge device. The solution implemented in this patch is for ifup-eth to set LINKDELAY to at least ${DELAY} * 2 + 7 when the device is a bridge an STP is enabled. Since check_link_down() returns within .5 sec of carrier coming up, the worst effect this could have would be to take longer to fail in the case of a config where carrier was *never* going to come up. Otherwise, it will not create any more delay than is already present in cases that currently work, and will cause many other configs to become unbroken.
* add conflicts to older systemdLukas Nykryn2014-11-061-1/+1
|
* 9.58-1initscripts-9.58-1Lukas Nykryn2014-11-061-1/+5
|
* ifup,vlan: fix typoLukas Nykryn2014-10-241-1/+1
|
* doc: be consistent and use BOOTPROTO=noneLukas Nykryn2014-10-202-2/+2
| | | | Reported-by: Stephen Wadeley <swadeley@redhat.com>
* remove /etc/inittab, /etc/crypttab, utmp, wtmp, btmpLukas Nykryn2014-10-084-53/+9
|
* 9.56-1initscripts-9.56-1Lukas Nykryn2014-10-071-1/+27
|
* network_function: return immediately when device is presentLukas Nykryn2014-10-071-1/+4
| | | | | Conflicts: sysconfig/network-scripts/network-functions
* add configurable DEVTIMEOUTLukas Nykryn2014-10-073-2/+19
|
* fedora-import-state: do not clobber /Zbigniew Jędrzejewski-Szmek2014-10-061-5/+2
| | | | | | Also, do not fail on filenames containing spaces. https://bugzilla.redhat.com/show_bug.cgi?id=1149419
* network-functions: grep->fgrep in bonding masters matchingLukas Nykryn2014-09-191-1/+1
|
* man: update sys-unconfig.8Lukas Nykryn2014-09-171-12/+9
|
* rename_devices: comments need to have a blank before themLukas Nykryn2014-09-161-6/+13
|
* add example ifcfg filesLukas Nykryn2014-09-1610-0/+119
|
* network-functions: improve bonding_masters grepLukas Nykryn2014-09-161-1/+1
| | | | kudos to john.haxby@oracle.com
* ifup: if we were unable to determine DEVICE always call nmcli upLukas Nykryn2014-09-161-1/+1
|
* ifup-tunnel: call ifup-ipv6 in the endLukas Nykryn2014-09-161-0/+3
|
* ifup: also set multicast_snooping after the bridge is upLukas Nykryn2014-09-161-1/+1
|
* network-functions: ETHTOOL_DELAY introduction patchLukas Nykryn2014-09-091-0/+1
|
* use pie and relro by defaultLukas Nykryn2014-09-091-7/+7
|
* custom naming for VLAN devicesLukas Nykryn2014-09-091-15/+22
|
* vi.po: fix parenthesesLukas Nykryn2014-09-091-1/+1
| | | | | Conflicts: po/vi.po
* ifup-wireless: add support for wowlanEduardo Minguez2014-09-091-0/+5
| | | | | Conflicts: sysconfig/network-scripts/ifup-wireless
* ifup-wireless: add support for wowlan (second part)Eduardo Minguez2014-09-091-0/+5
|
* ifup-aliases: do not bring up ipv6 for range filesLukas Nykryn2014-08-081-0/+1
|
* sys-unconfig: use poweroff instead of haltLukas Nykryn2014-07-241-1/+1
|
* ifup-aliases: improve duplicate address detectionLukas Nykryn2014-07-241-6/+8
|
* network-functions: handle BONDING_OPTS betterJirka Klimes2014-07-241-3/+29
|
* network: tell nm to wake the slavesLukas Nykryn2014-07-241-1/+2
|
* 9.55-1initscripts-9.55-1Lukas Nykryn2014-07-221-1/+11
|
* fix license handlingTom Callaway2014-07-221-1/+3
|
* ipcalc: -c allow netmaskLukas Nykryn2014-06-061-2/+2
|
* ipcalc: parse prefix more safelyLukas Nykryn2014-06-061-2/+22
|
* inittab: fix path and mention set-defaultLukas Nykryn2014-06-031-3/+5
|
* don't require /sbin/sysctlLukas Nykryn2014-05-211-1/+0
|
* init.d/functions: check parent dir of pid file for accessibilityLukas Nykryn2014-04-301-0/+3
|
* ifup-eth: some options for bridge can be applied after the bridge is upLukas Nykryn2014-04-291-0/+10
| | | | | Conflicts: sysconfig/network-scripts/ifup-eth
* remove ppp from translationLukas Nykryn2014-04-242-106/+62
|
* 9.54-1initscripts-9.54-1Lukas Nykryn2014-04-241-2/+12
|
* move ppp support to ppp packageLukas Nykryn2014-04-2413-1646/+4
|
* fedora-readonly: fix prefix detection (#1059749)Václav Pavlín2014-04-161-2/+3
|
* remove fedora-configureLukas Nykryn2014-04-073-36/+0
|
* network: detect if / is on netfsLukas Nykryn2014-04-011-0/+2
|
* is_nm_handling: fix RELukas Nykryn2014-04-011-1/+1
|
* bonding: match whole name of interfaceLuke Bigum2014-03-311-1/+1
|
* network: add support for team devicesJiri Pirko2014-03-312-0/+20
| | | | | | | | | | | | | | | | | | Currently, team masters and slaves are supported via ifup-Team* and ifdown-Team* scripts shipped in teamd package. It uses somehow ugly workaround where user have to specify DEVIVETYPE to "Team" or "TeamPort". This turned out to be non-optimal solution as this is confusing users. Also it does not work when TYPE is set. So fix this by adding the team support hooks directly into initscripts. Now for team port, user needs only to set: TEAM_MASTER="teamx" and for team master, user needs only to set: TEAM_CONFIG="...whatever..." Signed-off-by: Jiri Pirko <jiri@resnulli.us>
* ifup-wireless: fix syntax errorkc8hfi@gmail.com2014-03-311-1/+1
|