aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
Commit message (Collapse)AuthorAgeFilesLines
* Bail early if NetworkManager is used.distro/mga3Colin Guthrie2013-07-312-3/+9
| | | | | | | | | | Our initscripts vary quite different from Fedoras in that we will actively start a wpa_supplicant daemon for wireless interfaces As this can cause problems if the NM detection code is flaky (which it is) we really do want to bail early when this is the case https://bugs.mageia.org/show_bug.cgi?id=9028
* 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-2815-212/+180
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Be less strict about VLAN name (#505314)Václav Pavlín2012-09-051-4/+1
| |
| * Allow duplicate address dectection to be disabledBenjamin Coddington2012-08-072-1/+8
| |
| * Fix typo in help message in ifdown-routesLukas Nykryn2012-08-071-1/+1
| |
| * Process rule6-* for sit devices (#840009)Lukas Nykryn2012-08-072-6/+5
| |
| * Drop net.hotplugBill Nottingham2012-08-061-60/+0
| |
| * Handle (improper) quoted HWADDR (#835372)Bill Nottingham2012-06-261-1/+1
| |
| * Allow bridge names starting with a dashDan Kenigsberg2012-06-132-7/+7
| | | | | | | | | | | | | | | | Misguided people may name their bridge '-foo', with a leading dash. Let us indulge them. It is better than showing the usage string of brctl. Signed-off-by: Dan Kenigsberg <danken@redhat.com>
| * Don't accidentally match other bonding devices. (#824175)Bill Nottingham2012-05-232-2/+2
| |
| * 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-303-4/+4
| | | | | | | | it's not for configuration use.
| * Allow dhclient configuration files for DHCPv6 as well. (#815676)Bill Nottingham2012-04-242-10/+14
| |
| * Remove some more uses of /sbin/route ; replace with /sbin/ip. (#682308)Bill Nottingham2012-04-205-14/+9
| |
| * Add quotes to device/zone in the firewalld support.Bill Nottingham2012-03-162-3/+3
| |
| * Add support for firewalld zones. (#802415, from <jpopelka@redhat.com>)Bill Nottingham2012-03-132-0/+10
| | | | | | | | | | | | | | | | | | | | ZONE in an ifcfg file describes the zone an interface should belong to. Zones can be configured in the firewalld configuration file. When interfaces are brought up, tell firewalld, if running, to add them to the proper zone. Similarly, remove them when they're brought down. Modified from a patch from Jiri Popelka.
| * Fix IFS usage mangling device names (#802119)Bill Nottingham2012-03-121-9/+1
| |
| * Fix typo. (#802055, <lubek@users.sourceforge.net>)Bill Nottingham2012-03-122-2/+2
| |
| * Use NetworkManager-compatible lease file names by default.Bill Nottingham2012-03-093-3/+15
| |
| * Lease files are now copied at boot by a systemd service; don't copy them here.Bill Nottingham2012-03-081-7/+0
| |
| * Use /run/initramfs instead of /dev/.initramfsWill Woods2012-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | Current dracut saves state to /run/initramfs, since /run is standard now. This patch makes rc.sysinit and fedora-readonly check for files in /run/initramfs/rwtab and /run/initramfs/state (which is where dracut writes them). It also makes ifup-eth look for lease files in /run/initramfs.
| * Allow for ifup-$TYPE/ifdown-$TYPE as well.Bill Nottingham2012-02-012-0/+8
| | | | | | | | This allows extending scripts without having to modifiy the case statement in network-functions each time.
| * Remove ifconfig usage from assorted ancient device types.Bill Nottingham2012-01-064-18/+20
| |
| * Eviscerate ifconfig uses from ip-aliases, because it's deprecated, slow ↵Bill Nottingham2012-01-061-77/+51
| | | | | | | | | | | | (#721010), and doesn't work on infiniband (#588993) Based on a patch from Travis Gummels (<tgummels@redhat.com>).
| * Don't set primary before we enslave devices. (#747418, <agospoda@redhat.com>)Bill Nottingham2011-10-271-1/+1
| |
* | 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.
* | ifup-eth: remove extra wireless sysfs checkOlivier Blin2012-10-231-2/+2
| | | | | | | | is_wireless_device is doing the same thing.
* | 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-032-30/+62
| | | | | | | | | | | | 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-0318-694/+263
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix logic error with removing arp_ip_target (#745681)Bill Nottingham2011-10-131-1/+1
| |
| * Add support for setting random bridge options via BRIDGING_OPTS. (#734045, ↵Bill Nottingham2011-08-311-0/+12
| | | | | | | | #665378)
| * Fix pid file usage for IPv6. (#729292, <daveg@dgit.ndo.co.uk>)Bill Nottingham2011-08-091-1/+1
| |
| * Allow non-'-s' options in ETHTOOL_OPTS, and allow multiple option types. ↵Bill Nottingham2011-06-282-16/+20
| | | | | | | | (#692410, #693583)
| * Remove ipsec-tools scripts (they're now in ipsec-tools itself.)Bill Nottingham2011-06-202-365/+0
| |
| * If IPv6 is configured on the alias, configure it. (#583409)Bill Nottingham2011-06-061-0/+2
| |
| * Ensure DHCP_HOSTNAME is a short hostname, seed it from HOSTNAME if needed. ↵Bill Nottingham2011-05-312-2/+4
| | | | | | | | (#697877)
| * Override NETMASK from PREFIX where specified (#705367, <mpoole@redhat.com>)Bill Nottingham2011-05-181-0/+5
| |
| * Handle IPADDRx correctly for static addresses (#698738)Bill Nottingham2011-04-271-1/+1
| |
| * Fix index handling for expanded configs <jklimes@redhat.com>Bill Nottingham2011-04-121-1/+1
| |
| * Fix patch misapplicationBill Nottingham2011-04-121-1/+1
| |
| * ifup/ifdown-eth: properly add and remove arp_ip_target'sHarald Hoyer2011-04-122-4/+27
| | | | | | | | | | | | | | | | | | Only add arp_ip_target, if not yet present. Only remove arp_ip_target, if present in BONDING_OPTS, to prevent clash with module options. https://bugzilla.redhat.com/show_bug.cgi?id=604669
| * Make sure the bond exists when we bring up the slaves. (#694501)Bill Nottingham2011-04-071-1/+2
| |
| * Don't explictly disallow IPv6 aliases (#583409, #612877.)Bill Nottingham2011-03-302-4/+2
| |
| * Add an error when setting gateway fails. (#672202)Bill Nottingham2011-03-301-2/+4
| |
| * ifup-eth: use /run/initramfs rather then /dev/.run/initramfsHarald Hoyer2011-03-301-1/+1
| |
| * Convert ipv6_log users to net_log.Bill Nottingham2011-03-251-204/+51
| |