aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
Commit message (Collapse)AuthorAgeFilesLines
* Add back check for wireless sysfs dir (mga#8343)Thomas Backlund2013-01-061-1/+1
|
* Merge tag 'initscripts-9.41-1' into mga-41Colin Guthrie2012-10-281-11/+39
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag as initscripts-9.41-1 Conflicts: .gitignore Makefile inittab po/xgettext_sh.py prefdm rc.d/init.d/functions rc.d/init.d/halt rc.d/init.d/killall rc.d/init.d/netfs rc.d/init.d/network rc.d/init.d/single rc.d/rc rc.d/rc.local rc.d/rc.sysinit service src/console_check.c src/console_init.c sysconfig.txt sysconfig/network-scripts/ifdown sysconfig/network-scripts/ifdown-eth sysconfig/network-scripts/ifup sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ippp sysconfig/network-scripts/network-functions systemd/system/fedora-wait-storage.service udev/rules.d/10-console.rules Merge Notes: 1. prefdm: We are keeping the current prefdm script which parses /etc/sysconfig/desktop to find the current preferred dm. We also keep the hunk in sysconfig.txt which relates to the afore mentioned file. Longer term, we should drop this and move to per-dm units. 2. sysconfig/network-scripts/ifup-ippp is still removed at our end... is there a replacement? 3. I used our /sbin/service as it varies quite a lot from fedora. I'd be tempted to drop our custom version in favour of upstream (s/libexec/lib/) 4. ifup/ifdown NM wrappers have been included - previously we just printed a "Device is manged by NM skipping.." message. CONFLICT (modify/delete): udev/rules.d/10-console.rules deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of udev/rules.d/10-console.rules left in tree. Auto-merging systemd/system/fedora-wait-storage.service CONFLICT (content): Merge conflict in systemd/system/fedora-wait-storage.service Auto-merging systemd/fedora-storage-init Auto-merging sysconfig/network-scripts/network-functions CONFLICT (content): Merge conflict in sysconfig/network-scripts/network-functions Removing sysconfig/network-scripts/net.hotplug Auto-merging sysconfig/network-scripts/ifup-sit Auto-merging sysconfig/network-scripts/ifup-post Auto-merging sysconfig/network-scripts/ifup-plusb CONFLICT (modify/delete): sysconfig/network-scripts/ifup-ippp deleted in HEAD and modified in initscripts-9.41-1. Version initscripts-9.41-1 of sysconfig/network-scripts/ifup-ippp left in tree. Auto-merging sysconfig/network-scripts/ifup-eth CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifup-eth Auto-merging sysconfig/network-scripts/ifup CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifup Auto-merging sysconfig/network-scripts/ifdown-sit Auto-merging sysconfig/network-scripts/ifdown-post Auto-merging sysconfig/network-scripts/ifdown-eth CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifdown-eth Auto-merging sysconfig/network-scripts/ifdown CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifdown Auto-merging sysconfig.txt CONFLICT (content): Merge conflict in sysconfig.txt Removing src/testdinit Removing src/testd.c Removing src/securetty.c Removing src/securetty.8 Removing src/getkey.c Removing src/getkey.1 Removing src/fstab-decode.c Removing src/fstab-decode.8 CONFLICT (modify/delete): src/console_init.c deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of src/console_init.c left in tree. CONFLICT (modify/delete): src/console_check.c deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of src/console_check.c left in tree. Auto-merging service CONFLICT (content): Merge conflict in service CONFLICT (modify/delete): rc.d/rc.sysinit deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc.sysinit left in tree. CONFLICT (modify/delete): rc.d/rc.local deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc.local left in tree. CONFLICT (modify/delete): rc.d/rc deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc left in tree. CONFLICT (modify/delete): rc.d/init.d/single deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/single left in tree. Auto-merging rc.d/init.d/network CONFLICT (content): Merge conflict in rc.d/init.d/network CONFLICT (modify/delete): rc.d/init.d/netfs deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/netfs left in tree. Auto-merging rc.d/init.d/netconsole CONFLICT (modify/delete): rc.d/init.d/killall deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/killall left in tree. CONFLICT (modify/delete): rc.d/init.d/halt deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/halt left in tree. Auto-merging rc.d/init.d/functions CONFLICT (content): Merge conflict in rc.d/init.d/functions CONFLICT (modify/delete): prefdm deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of prefdm left in tree. Auto-merging ppp/ip-up.ipv6to4 CONFLICT (modify/delete): po/xgettext_sh.py deleted in HEAD and modified in initscripts-9.41-1. Version initscripts-9.41-1 of po/xgettext_sh.py left in tree. Removing inittab.upstart Removing inittab.systemd Removing inittab.s390 Auto-merging inittab CONFLICT (content): Merge conflict in inittab Removing init/tty.conf Removing init/start-ttys.conf Removing init/splash-manager.conf Removing init/serial.conf Removing init/rcS.conf Removing init/rcS-sulogin.conf Removing init/rc.conf Removing init/quit-plymouth.conf Removing init/prefdm.conf Removing init/plymouth-shutdown.conf Removing init/control-alt-delete.conf Removing crypttab.5 Removing README-init Removing NetworkManager/dispatcher.d/05-netfs Auto-merging Makefile CONFLICT (content): Merge conflict in Makefile Auto-merging .gitignore CONFLICT (content): Merge conflict in .gitignore Automatic merge failed; fix conflicts and then commit the result.
| * Allow duplicate address dectection to be disabledBenjamin Coddington2012-08-071-0/+7
| |
| * Handle (improper) quoted HWADDR (#835372)Bill Nottingham2012-06-261-1/+1
| |
| * check_device_down: Don't bother calling ip to check link state if the device ↵Bill Nottingham2012-05-021-0/+1
| | | | | | | | doesn't exist.
| * Rename internal tracking variable USE_NM to _use_nm, to more clearly state ↵Bill Nottingham2012-04-301-2/+2
| | | | | | | | it's not for configuration use.
| * Allow dhclient configuration files for DHCPv6 as well. (#815676)Bill Nottingham2012-04-241-0/+11
| |
| * Use NetworkManager-compatible lease file names by default.Bill Nottingham2012-03-091-0/+9
| |
* | network-functions: fix detecting wireless devices in sysfsOlivier Blin2012-10-231-1/+1
| | | | | | | | | | | | The wireless directory has been removed in kernel commit 35b2a113cb0298d4f9a1263338b456094a414. Check the phy80211 symlink instead.
* | Make sure to invalidate nscd cache under systemd as neededColin Guthrie2012-07-131-1/+1
| |
* | networkmanager: Add a function to see if a connection is unavailable.Colin Guthrie2012-04-021-0/+6
| | | | | | | | e.g. if the h/w kill switch is set on a wifi device, it will be unavailable
* | network: assume NetworkManager is used if NM_CONTROLLED is not setOlivier Blin2012-03-241-1/+1
| | | | | | | | Like done upstream in commit 300aaee62cd7a3166969e795b53b065c510e09c1
* | Reduce differences in network scripts.Colin Guthrie2011-11-031-10/+31
| | | | | | | | | | | | This just merges in some upstream changes between 25 and 34 that allows for multiple static IP addresses to be defined in the ifcfg files.
* | Merge commit 'initscripts-9.34-1' into mga-34Colin Guthrie2011-11-031-5/+58
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings our fully patched initscripts branch up to version 9.34. Some code was not easily merged and thus not all functionality relating to multiple IP addresses per interface were merged in. Conflicts: Makefile lang.csh lang.sh prefdm rc.d/init.d/functions rc.d/init.d/netfs rc.d/init.d/network rc.d/rc rc.d/rc.local rc.d/rc.sysinit service sysconfig.txt sysconfig/network-scripts/ifdown-eth sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ipv6 sysconfig/network-scripts/ifup-sit sysconfig/network-scripts/ifup-tunnel sysconfig/network-scripts/network-functions systemd/system/fedora-sysinit-unhack.service
| * Allow non-'-s' options in ETHTOOL_OPTS, and allow multiple option types. ↵Bill Nottingham2011-06-281-1/+15
| | | | | | | | (#692410, #693583)
| * Ensure DHCP_HOSTNAME is a short hostname, seed it from HOSTNAME if needed. ↵Bill Nottingham2011-05-311-0/+2
| | | | | | | | (#697877)
| * Override NETMASK from PREFIX where specified (#705367, <mpoole@redhat.com>)Bill Nottingham2011-05-181-0/+5
| |
| * Fix index handling for expanded configs <jklimes@redhat.com>Bill Nottingham2011-04-121-1/+1
| |
| * Switch the default logging value to error.Bill Nottingham2011-03-251-2/+2
| | | | | | | | It's what's used the most.
| * Make net_log()'s output similar to that of the ipv6 logger.Bill Nottingham2011-03-251-1/+16
| | | | | | | | This will cause output strings to change, of course, so it's not really appropriate for earlier releases.
| * Add a net_log() function. (#507515, #689525)Bill Nottingham2011-03-251-0/+23
| |
| * Fix check for unmanaged devices so it does the right thing with devices NM ↵Bill Nottingham2011-03-101-1/+1
| | | | | | | | | | | | doesn't know about at all. (#670154) It was returning nonexistent devices, or devies NM knew nothing about (bridges), as being managed.
| * Drop some unnecessary command invocations.Ville Skyttä2011-02-281-3/+2
| |
* | Add the mdkconf patchColin Guthrie2011-10-211-43/+56
|/
* Frob device when calling sysctl, in case of vlans. (#665601, #667211, ↵Bill Nottingham2011-01-041-0/+1
| | | | <ossman@cendio.se>)
* Support multiple IP addreses via IPADDRn, PREFIXn (or NETMASKn) (#633984) ↵Bill Nottingham2010-11-301-10/+26
| | | | | | | | Adapted from <jklimes@redhat.com> In addition to legacy IP aliases, this commit adds a support for configuring mupliple IPs via single ifcfg file. It uses the same syntax and behaviour as NetworkManager.
* Add infiniband mapping (#648524, <monis@voltaire.com>)Bill Nottingham2010-11-011-0/+3
|
* Fix ifdown calling nmcli for NM-managed devices; others are handled by ↵Jiří Klimeš2010-11-011-0/+5
| | | | ifdown-${DEVICETYPE} (#612934).
* Cleanup.Bill Nottingham2010-06-241-2/+2
|
* Handle quoted SUBCHANNELS (#607481)Bill Nottingham2010-06-241-2/+2
|
* Check NM_CONTROLLED before deciding to use NM for a connection. (#599707, ↵Bill Nottingham2010-06-041-1/+1
| | | | probably others.)
* Behave sanely if we're not passed a device at all. (#589521, #592108)Bill Nottingham2010-05-131-0/+2
|
* Get rid of a silly error message for loopback devices.Bill Nottingham2010-05-131-1/+1
|
* Update for new nmcli syntax.initscripts-9.12-1Bill Nottingham2010-05-051-2/+2
|
* Redirect error messages to /dev/null to catch if nmcli is not installed. ↵Bill Nottingham2010-03-051-2/+2
| | | | (#570828, <zing@fastmail.fm>)
* Only use UUID to bring connections up/down; ensure we have a UUID by asking ↵Bill Nottingham2010-03-011-3/+7
| | | | NM for it.
* Quote 'name' when passing to get_config_by_name.Bill Nottingham2010-03-011-1/+1
|
* Fix is_nm_activeBill Nottingham2010-03-011-1/+1
| | | | Some versions of nmcli have trailing whitespace.
* When bringing devices down, disconnect the device, don't down the connection.Bill Nottingham2010-03-011-0/+5
|
* Remove quotes from uuid.Bill Nottingham2010-03-011-1/+1
|
* Use NM if it's running and we have a configuration for the device.Bill Nottingham2010-03-011-0/+4
|
* Add a function that determines the status of NetworkManager; use it.Bill Nottingham2010-03-011-0/+6
|
* Add get_config_by_name, use it.Bill Nottingham2010-03-011-0/+12
|
* Add get_config_by_device, adjust caller.Bill Nottingham2010-03-011-3/+9
|
* Make sure we default to 'ok' if link checking fails.Bill Nottingham2010-02-151-1/+1
|
* Don't use ethtool to check for device w/bonding driver; just check that the ↵Bill Nottingham2010-02-151-1/+1
| | | | | | | passed device exists. If they have a device that already exists but isn't a bond, the later add will fail anyway.
* Don't use ethtool to check link ; operate on the carrier sysfs attribute.Bill Nottingham2010-02-151-20/+1
|
* Fix various device checks to not misidentify devices.Bill Nottingham2010-02-121-14/+4
| | | | | Also, don't use ifconfig for checking link state on alias devices; /sbin/ip does fine with that.
* If HWADDR is set and DEVICE is not, use HWADDR to determine DEVICE. (#545597)Bill Nottingham2010-01-221-6/+7
|
* Eliminate bunch of unnecessary stat calls and command invocations.Ville Skyttä2010-01-121-1/+1
|