aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 9.49.409.49.40David Kaspar [Dee'Kej]2017-11-031-1/+14
|
* specfile: require 'redhat-release' instead of /etc/system-releaseDavid Kaspar [Dee'Kej]2017-11-031-2/+2
| | | | | Also, add a conflict for older versions of 'redhat-release'. Using them would cause unbootable system most likely...
* ifup-post: always update nameserver & search entries in /etc/resolv.confDavid Kaspar [Dee'Kej]2017-11-023-75/+135
| | | | | | | | | | | | | | | | | | | | This is complete rework of how we generate the /etc/resolv.conf. Fixes: * always update 'nameserver' & 'search' entries when DNS* & DOMAIN options (respectively) were updated in ifcfg-* files * always update the order of 'nameserver' entries when the order of DNS* options was updated Enhancements: * added support for DNS3 option (equals to MAXNS value in GLIBC) * added logic to process duplicate DNS* options * added logic to process randomly omitted DNS* options (e.g. omitting DNS1 while specifying DNS2 and/or DNS3 will still work now) This work was based on these two RHEL-7.5 BZs: https://bugzilla.redhat.com/show_bug.cgi?id=1364895 https://bugzilla.redhat.com/show_bug.cgi?id=1357658
* systemd/system: symlinks for initscripts' services removedDavid Kaspar [Dee'Kej]2017-10-319-35/+40
| | | | | | | | The symlinks are no longer needed. Enablement of default services is now managed by 'redhat-release' package. Resolves: #1395391 Resolves: #1357648
* Add *.old to list of ignored filesDavid Kaspar [Dee'Kej]2017-10-311-2/+2
|
* ifup-eth: wait for STP to complete setup on bridge if $DELAY is not setDavid Kaspar [Dee'Kej]2017-10-311-4/+21
| | | | | Otherwise obtaining IP from DHCP might fail. Based on patch from: * Rich Alloway <richard.alloway@roguewave.com> | CentOS BZ #0011138
* init.d/functions: convert2sec() function addedDavid Kaspar [Dee'Kej]2017-10-312-1/+17
| | | | | | | | | | And network-scripts/network-functions was patched to use convert2sec(). This function can be used to convert the value of its first parameter to a number of seconds - based on the time unit (specified as the second parameter). This is mostly useful for converting values for use with the sleep(1).
* init.d/functions: is_true() & is_false() extended by ON/OFF supportDavid Kaspar [Dee'Kej]2017-10-311-2/+2
| | | | | In some cases we are using "on" or "off" as values. is_true() and is_false() can be used for evaluation of these values as well.
* Replace usleep(1) calls with sleep(1) callsDavid Kaspar [Dee'Kej]2017-10-313-5/+9
| | | | | The time units had to be manually converted from microseconds to seconds. Hopefully this was done right.
* network-scripts: forward DBus calls to /dev/nullDavid Kaspar [Dee'Kej]2017-10-312-2/+4
|
* network-scripts: firewall-cmd replaced with DBus callsDavid Kaspar [Dee'Kej]2017-10-313-11/+22
| | | | | To speed things up. Based on patch & comments from: https://bugzilla.redhat.com/show_bug.cgi?id=1497759
* Makefile: return make archive for testing purposesLukas Nykryn2017-10-301-0/+9
|
* ARPUPDATE introducedDavid Kaspar [Dee'Kej]2017-10-164-2/+15
| | | | | | | | | The ARPUPDATE option has been introduced. It defaults to 'yes'. By setting the ARPUPDATE to 'no', administrator can disable updating neighbouring computers with ARP information about current NIC. This is especially needed when using LVS Load Balancing with Direct routing enabled.
* 9.49.399.49.39David Kaspar [Dee'Kej]2017-05-031-1/+8
|
* sysconfig.txt: mention previously introduced NO_DHCP_HOSTNAME optionDavid Kaspar [Dee'Kej]2017-05-031-0/+4
|
* DHCP_FQDN and DHCP_SEND_HOSTNAME introducedDavid Kaspar [Dee'Kej]2017-05-034-16/+53
| | | | | | | | | | | | | | The way DHCP_HOSTNAME is being sent to DHCP server has been completely reworked... DHCP_FQDN now allows user to specify fully qualified domain name to be sent to DHCP server instead of just using simple hostname. This option takes precedence before DHCP_HOSTNAME variable. DHCP_SEND_HOSTNAME can be used to tell initscripts to not send either DHCP_HOSTNAME or DHCP_FQDN to DHCP server. Both of these options should behave same as they do in NetworkManager.
* re-add missing $HOSTNAME initializationDavid Kaspar [Dee'Kej]2017-05-032-3/+9
|
* ifup: add support for VLAN_EGRESS_PRIORITY_MAPLukas Nykryn2017-05-031-0/+2
|
* rhel-autorelabel: synchronize cached writes before rebootDavid Kaspar [Dee'Kej]2017-04-201-0/+1
| | | | | | This should prevent boot loops when 'touch /.autorelabel' has been used. Resolves: RHBZ#1385272
* 9.49.389.49.38David Kaspar [Dee'Kej]2017-03-301-1/+23
|
* ifdown-eth: we need to flush global scope as wellLukas Nykryn2017-03-301-1/+4
| | | | ... but it is stuck some time
* killproc/status: add missing '-b <binary>' optionDavid Kaspar [Dee'Kej]2017-03-301-5/+30
| | | | | | Taken from RHEL-6.9, for forward compatibility. Resolves: RHBZ#1428935
* specfile: mark 'rwtab' and 'statetab' as config filesDavid Kaspar [Dee'Kej]2017-03-301-2/+2
| | | | Resolves: RHBZ#1434075
* spec: we need newer lvmLukas Nykryn2017-03-281-1/+1
| | | | Reolves: #1398683
* rwtab: add /var/lib/systemd/timersJan Synacek2017-03-281-0/+1
| | | | Resolves: #1414090
* ifup-eth: remove quote marksLukas Nykryn2017-03-221-1/+1
| | | | | With quote marks all the parameters to dhclient are passed as one Resolves: #1410429
* 9.70-sync: Move everything to githubLukas Nykryn2017-03-222-16/+3
|
* 9.70-sync: rwtab updatedDavid Kaspar [Dee'Kej]2017-03-221-1/+1
| | | | Path to 'random-seed' has been updated
* 9.70-sync: service file updatedDavid Kaspar [Dee'Kej]2017-03-221-1/+1
|
* 9.70-sync: syconfig.txt updatedDavid Kaspar [Dee'Kej]2017-03-221-0/+2
| | | | Description of PPPOE_EXTRA & PPPD_EXTRA added.
* 9.70-sync: systemd/rhel-import-state updatedDavid Kaspar [Dee'Kej]2017-03-221-3/+31
|
* 9.70-sync: sysconfig/network-scripts/* updated - part 2David Kaspar [Dee'Kej]2017-03-2219-2139/+2261
| | | | | This commit contains a lot of whitespace changes. Use 'git diff --ignore-all-space' to display the relevant changes.
* 9.70-sync: sysconfig/network-scripts/* updated - part 1David Kaspar [Dee'Kej]2017-03-225-79/+77
| | | | This commit contains only whitespace & indentation style changes.
* 9.70-sync: rc.d/init.d/network updatedDavid Kaspar [Dee'Kej]2017-03-221-203/+199
| | | | | This commit contains a lot of whitespace changes. Use 'git diff --ignore-all-space' to display the relevant changes.
* 9.70-sync: rc.d/init.d/netconsole updatedDavid Kaspar [Dee'Kej]2017-03-221-3/+20
|
* 9.70-sync: rc.d/init.d/functions updatedDavid Kaspar [Dee'Kej]2017-03-221-427/+439
| | | | | This commit contains a lot of whitespace changes. Use 'git diff --ignore-all-space' to display the relevant changes.
* 9.70-sync: ipv6-6to4.howto example updatedDavid Kaspar [Dee'Kej]2017-03-221-1/+1
|
* 9.70-sync: examples/networking/ifcfg-bridge updatedDavid Kaspar [Dee'Kej]2017-03-221-1/+1
|
* network: load NetworkManager connection via dbusPetr Horáček2017-02-141-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áček2017-02-141-1/+5
| | | | Use dbus instead of nmcli to make ifup command faster.
* 9.49.37initscripts-9.49.37-1Lukas Nykryn2016-09-121-1/+4
|
* rhel-import-state: fix broken order of parametersLukas Nykryn2016-09-121-1/+1
| | | | Resolves: #1375054
* 9.49.36initscripts-9.49.36-1Lukas Nykryn2016-09-091-1/+4
|
* import-state: copy just some attributesLukas Nykryn2016-09-091-1/+1
|
* 9.49.35initscripts-9.49.35-1Lukas Nykryn2016-08-021-1/+4
|
* functions: systemctl show now returns an error when unit does not existLukas Nykryn2016-08-021-1/+2
| | | | | Cherry-picked from: d39b9feebd08ce67db69b2aab34ea6d0e3c3ec12 Resolves: #1362225
* 9.49.34initscripts-9.49.34-1Lukas Nykryn2016-07-151-1/+4
|
* import-state: restore also sensitivity part of SELinux contextLukas Vrabec2016-07-151-1/+1
| | | | | Cherry-picked from: 481aa46e866fc6d99d954d9cf9cd2ab1898e0f84 Resolves: #1353975
* 9.49.33initscripts-9.49.33-1Lukas Nykryn2016-07-141-1/+4
|
* network: run after network-pre.targetLukas Nykryn2016-07-141-1/+1
| | | | | | | see man systemd.special Cherry-picked from: 88d1927 Resolves: #1354382