aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge tag 'initscripts-9.64-1' into distro/mgaNicolas Lécureuil2016-02-123-2/+4
|\ \ | |/ | | | | | | | | Tag as initscripts-9.64-1 rc.d/init.d/network: Added ADSL type ( not present in fedora : TOOD: See if this is upstreamable )
| * network-functions: fix wireless detectionLukas Nykryn2015-08-061-1/+1
| |
| * fedora-readonly: use --make-slave with --bind mountsLukas Nykryn2015-07-011-0/+2
| |
| * ifup-post: should be interpreted in bashLukas Nykryn2015-05-251-1/+1
| |
* | Merge tag 'initscripts-9.63-1' into distro/mgaNicolas Lécureuil2016-02-121-1/+1
|\ \ | |/ | | | | | | | | | | Tag as initscripts-9.63-1 In rc.d/init.d/functions, gprintf replaced as upstream does by echo. TODO: See if we keep this or revert the behaviour
| * bonding: warn if the ifup for slave device failedLukas Nykryn2015-05-071-1/+1
| |
| * ifup: don't call NM for loopbackLukas Nykryn2015-05-061-1/+1
| |
| * ifup: add missing quotesLukas Nykryn2015-04-241-1/+1
| |
* | Merge tag 'initscripts-9.62-1' into distro/mgaNicolas Lécureuil2016-02-123-8/+15
|\ \ | |/ | | | | Tag as initscripts-9.62-1
| * network-functions: fix change_resolv_conf after grep updateLukas Nykryn2015-04-091-4/+4
| |
| * ifup-aliases: don't return with error when arping failsLukas Nykryn2015-04-051-1/+2
| |
| * ifup-aliases: inherit ARPCHECK from parent deviceLukas Nykryn2015-02-271-1/+2
| |
| * ifdown-eth: use scope host for loLeon Kos2015-02-041-2/+7
| |
* | Merge tag 'initscripts-9.61-1' into distro/mgaNicolas Lécureuil2016-02-125-9/+27
|\ \ | |/ | | | | Tag as initscripts-9.61-1
| * ifup-ipv6: set accept_ra to 2 when IPV6FORWARDING=yes and IPV6_AUTOCONF=yesLukas Nykryn2015-01-191-1/+5
| |
| * ifup-post: check resolve.conf also with DNS2Lukas Nykryn2015-01-161-1/+8
| |
| * ifup-aliases: do not fail when only ipv6 addr is specifiedLukas Nykryn2015-01-151-0/+5
| |
| * network-functions: is_available_wait should wait even in the case that ↵Lukas Nykryn2015-01-121-4/+2
| | | | | | | | is_available returns 2
| * ifdown-post: remove resolv.conf only in specific casesLukas Nykryn2015-01-081-1/+2
| |
| * network-functions: fix check in install_bonding_driverLukas Nykryn2015-01-021-1/+1
| |
* | Merge tag 'initscripts-9.60-1' into distro/mgaNicolas Lécureuil2016-02-122-3/+18
|\ \ | |/ | | | | Tag as initscripts-9.60-1
| * ifdown-ipv6: reset addrgenmode to eui64 for deviceLukas Nykryn2014-12-161-0/+1
| |
| * ifup: fix typoLukas Nykryn2014-12-161-1/+1
| |
| * 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>
* | Merge tag 'initscripts-9.59-1' into distro/mgaNicolas Lécureuil2016-02-121-1/+10
|\ \ | |/ | | | | Tag as initscripts-9.59-1
| * 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.
| * ifup,vlan: fix typoLukas Nykryn2014-10-241-1/+1
| |
* | Merge tag 'initscripts-9.56-1' into distro/mgaNicolas Lécureuil2016-02-126-59/+100
|\ \ | |/ | | | | Tag as initscripts-9.56-1
| * 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
| |
| * network-functions: grep->fgrep in bonding masters matchingLukas Nykryn2014-09-191-1/+1
| |
| * 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
| |
| * custom naming for VLAN devicesLukas Nykryn2014-09-091-15/+22
| |
| * 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
| |
| * ifup-aliases: improve duplicate address detectionLukas Nykryn2014-07-241-6/+8
| |
| * network-functions: handle BONDING_OPTS betterJirka Klimes2014-07-241-3/+29
| |
* | Restore Mageia ifup-wireless.Colin Guthrie2014-09-101-28/+165
| | | | | | | | | | | | | | | | | | | | | | I don't have time to properly adapt our other scripts to cope here, so just revert for now. Hopefully by Mageia 6 we can ditch these scripts completely in favour of networkd... but time will tell. In this restoration, I've dropped the xsupplicant support as no such binary exists in Mageia.
* | Try and handle more NetworkManager errors.Colin Guthrie2014-08-301-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | These generally don't matter too much but they look bad. This change should both log a bit more (tailored for network service runs where newlines are suppressed - thus not quite as nice when running ifup manually, but nicer in the journal log for network.service) It should also handle some more cases where there is no DEVICE variable (typically when the device is not present and the ifcfg- file does not set it explicitly, or when it is set explicitly but it's not plugged in)
* | Fix an error shown when bringing up localhost.Colin Guthrie2014-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | The ifcfg-lo file typically does not contain a UUID and thus NetworkManager will complain saying: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo' This just silences this message (code below requires that the UUID is returned from NM via DBus)
* | Merge tag 'initscripts-9.55-1' into distro/mgaColin Guthrie2014-08-3018-567/+210
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag as initscripts-9.55-1 Conflicts: Makefile lang.csh lang.sh po/Makefile ppp/ip-down ppp/ip-up rc.d/init.d/network service sysconfig.txt sysconfig/init sysconfig/network-scripts/ifdown-ppp sysconfig/network-scripts/ifup sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ippp sysconfig/network-scripts/ifup-ppp sysconfig/network-scripts/ifup-wireless sysconfig/network-scripts/network-functions sysctl.conf systemd/fedora-storage-init Notes: ppp support was dropped upstream so we will need to merge it into the ppp package as Fedora has done. The fedora-storage-init stuff has been dropped. LVM+Raid is typically initialised automatically now via udev rules etc. We should try and follow suit, but may need to add the legacy script back in for now.
| * 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
| * move ppp support to ppp packageLukas Nykryn2014-04-242-208/+0
| |
| * is_nm_handling: fix RELukas Nykryn2014-04-011-1/+1
| |