summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* network: load NetworkManager connection via dbusHEADmasterPetr Horáček13 days1-1/+9
| | | | | Use dbus to refresh configuration files for NetworkManager in order to make ifup and ifdown faster.
* network: check for running NetworkManager via dbusPetr Horáček13 days1-1/+5
| | | | Use dbus instead of nmcli to make ifup command faster.
* sysconfig/network: NO_DHCP_HOSTNAME option introducedDavid Kaspar [Dee'Kej]2016-11-162-9/+29
| | | | | | | Previously, some administrators were unable to force initscripts to not obtatin hostname from DHCP, even though they were using static configuration of network. Righ now, setting 'NO_DHCP_HOSTNAME' to 'yes', 'true' or '1' in /etc/sysconfig/network will allow them to do so.
* fix typo in IPV6_SET_SYSCTLSPavel Šimerda2016-11-151-1/+1
| | | | | | | Typo introduced in commit 432951d. Related: https://github.com/fedora-sysv/initscripts/pull/2 Signed-off-by: Pavel Šimerda <pavlix@pavlix.net>
* network-functions: do not send hostname via dhclient everytimeDavid Kaspar [Dee'Kej]2016-11-102-9/+25
|
* ipv6_wait_tentative(): exit immediately when dadfailed occursDavid Kaspar [Dee'Kej]2016-11-011-3/+22
|
* network: don't put down network when /usr is remote-fsLukas Nykryn2016-11-011-6/+3
| | | | | | | | | Nowadays /usr is a essential part of system and if it is on network, we need to unmount it in shutdown dracut. Also parsing /etc/mtab does not work anymore. Fixes: rhbz#1369790
* netconsole: resolve domain name via 'getent' instead of 'hosts'David Kaspar [Dee'Kej]2016-11-011-3/+20
|
* ifup-eth: if arping fails, output responding MACLukas Nykryn2016-10-312-4/+6
| | | | Resolves: #1099026
* ifup-post: introduce new configuration option NOROUTESETDavid Kaspar [Dee'Kej]2016-10-311-1/+3
| | | | This has patch has been suggested in RHBZ #950453, by Konrad Moson.
* ifup-post: use is_false() function instead of checking for "no" stringDavid Kaspar [Dee'Kej]2016-10-311-2/+5
|
* ifup-aliases: send gratuitous ARPs when adding addressesLukas Nykryn2016-10-311-0/+6
|
* Add ability to specify arbitrary route optionsPhil Dibowitz2016-10-271-0/+2
| | | | | | | | | | | | `ifup` can set _some_ route options. Today it's missing several and so, to set something like `mtu` or `advmss` you have to do hacks like: ``` METRIC='10 mtu 1480' ``` which is sub-optimal. Rather than one-off add support for everything in the man page, provide a hook for arbitrary extra route options.
* service: avoid double spaces in systemctl commandsJulien Pivotto2016-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | When running: ``` service x restart ``` You get: ``` Redirecting to /bin/systemctl restart x.service ``` With 2 spaces after restart. This commits fixes that behaviour. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Fix typo'd variable in 6to4 cleanupPhil Dibowitz2016-10-121-2/+2
| | | | | | Thanks to shellcheck. :) This is ontop of the whitespace PRs, those should go in first.
* Use the is_true() and is_false() functions where possibleDavid Kaspar [Dee'Kej]2016-10-126-11/+11
|
* Support boolean values in is_true() & is_false() functionsDavid Kaspar [Dee'Kej]2016-10-121-2/+2
|
* network: remove tabs and fix spacingDavide Cavalca2016-10-121-202/+202
|
* functions: remote tabs and fix spacingDavide Cavalca2016-10-121-430/+435
|
* [3/3] Remove tabs and fix spacing: ifup/ifdown scriptsPhil Dibowitz2016-10-1219-779/+782
|
* [2/3] Remove tabs and fix spacing: network-functionsPhil Dibowitz2016-10-121-284/+289
|
* [1/3] Remove tabs and fix spacing: ipv6 scriptsPhil Dibowitz2016-10-124-1151/+1149
| | | | | | | | | | | | | | | | | The network-scripts are a mix of tabs and spaces (!!) as well as completely inconsistent indentation (some 2, some 4). This is a series of 3 patches to move the entire of network-scripts to 2-space indentation for consistency so I can develop on the codebase without my brain bleeding. I don't feel strongly about 2 vs 4... 2 was just most common in the first file I picked, so I used that. This set is in 3 sets for easier reviewing and easier reverting if necessary: * 1/3 - ipv6 files * 2/3 - network-functions - it needed it's own * 3/3 - ifup/ifdown files
* service: also mangle the name of unit in echoLeos Pol2016-10-101-1/+1
|
* Allow someone to keep accept_ra on while using static addresses.Phil Dibowitz2016-10-101-1/+3
| | | | | | | It's reasonable (and common) to assign static addresses while still wanting to get your default gw from your router. The assumption that not wanting SLAAC means not wanting RA is flawed, but I don't want to break backwards compatability, so I'm adding an additional option.
* Provide a mechanism to prevent network-scripts from messing with sysctlsPhil Dibowitz2016-10-103-33/+42
| | | | | | | | | | | network-scripts makes odd assumptions, like if I don't want SLAAC (i.e. if I turn off AUTOCONF) that I also don't want RA. This is not true, it's common to have a static local address, but to get my gateway through RA. This is one solution. I will also be sending a more specific solution to enable the above directly, but having a way to tell network-scripts to not mess with systctls seems generally useful.
* functions: more reliable systemd detection logicDavide Cavalca2016-10-061-1/+1
|
* network: unset NM_CONTROLLEDLukas Nykryn2016-09-121-1/+1
|
* 9.69-1initscripts-9.69-1David Kaspar [Dee'Kej]2016-08-301-1/+4
|
* fedora-import-state: do not try to create folder with empty nameDavid Kaspar [Dee'Kej]2016-08-301-1/+1
| | | | Resolves: #1370259
* 9.68-1initscripts-9.68-1David Kaspar [Dee'Kej]2016-08-091-1/+5
|
* Skip modifying of existing folders in systemd/fedora-import-state scriptDavid Kaspar [Dee'Kej]2016-08-091-3/+31
| | | | Resolves: #1347436
* functions: systemctl show now returns an error when unit does not existLukas Nykryn2016-08-021-1/+2
|
* 9.67-1initscripts-9.67-1Lukas Nykryn2016-07-191-1/+13
|
* import-state: restore also sensitivity part of SELinux contextLukas Vrabec2016-07-151-1/+1
|
* network: run after network-pre.targetLukas Nykryn2016-07-131-1/+1
| | | | see man systemd.special
* ifup-eth: fix setting preferred_lft and valid_lftLukas Nykryn2016-06-231-1/+1
|
* ifup: don't call nmcli on any lo deviceLukas Nykryn2016-06-162-2/+2
| | | | Resolves: #1336869
* source_config: tell NetworkManger to load ifcfg file even for NM_CONTROLLED=noThomas Haller2016-06-131-4/+6
|
* ipv6: wait for all global IPv6 addresses to leave the "tentative" stateLukas Nykryn2016-06-132-0/+23
|
* rwtab: /var/lib/nfs needs to copy the filesLukas Nykryn2016-06-021-1/+1
|
* functions: improve killing loopsLukas Nykryn2016-06-021-25/+73
|
* ifup: set valid_lft and preferred_lft to forever for static ipBlake Caldwell2016-05-301-0/+3
|
* service: use systemd mangle for given serviceLukas Nykryn2016-05-271-1/+2
|
* 9.66-1initscripts-9.66-1Lukas Nykryn2016-04-251-1/+10
|
* remove autorelabel stuffLukas Nykryn2016-04-253-75/+0
|
* autorelabel: turn quota off before relabelingLukas Nykryn2016-03-141-0/+1
|
* network: Treat other tunnel interfaces, fixes ifdown stageRodrigo Freire2016-03-081-2/+2
| | | | | | | | | | This patch is a complement of commit 5e9dd516e2e0 ("add bonding & xDSL to the list of devices brought up afterwards (#97030,#91399)"), ensuring that GRE and IPIP tunnels are brought up after base interfaces are up, and bring down before the underlying interface goes down. Signed-off-by: Rodrigo Freire <rfreire@redhat.com>
* autorelabel: call dracut-initramfs-restore before forced rebootMichal Sekletar2016-02-011-0/+1
|
* sysconfig.txt: document PPPOE_EXTRA and PPPD_EXTRALukas Nykryn2016-01-061-0/+2
|
* ifdown-eth: fix comparisonLukas Nykryn2015-12-251-1/+1
|