aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 9.49.449.49.44David Kaspar [Dee'Kej]2018-06-071-1/+4
|
* network-scripts: setting of firewall ZONE fixedDavid Kaspar [Dee'Kej]2018-06-073-5/+6
| | | | | | | | | | | | | For currently unknown reason the dbus-send calls will fail to set the firewall zone for the given interface if we omit the --print-reply option... This looks like some kind of race-condition in dbus-send, since the --print-reply makes the call synchronous and slower. Hopefully this is only a temporary workaround until DBus is fixed. Resolves: #1586284
* 9.49.439.49.43David Kaspar [Dee'Kej]2018-05-301-1/+4
|
* network: add knob to optionally keep interfaces up during shutdownDavide Cavalca2018-05-302-0/+14
| | | | Resolves: RHBZ#1583677
* 9.49.429.49.42David Kaspar [Dee'Kej]2018-05-251-1/+11
|
* rhel-autorelabel: set UEFI boot order (BootNext) same as BootCurrentDavid Kaspar [Dee'Kej]2018-05-251-0/+26
| | | | | | | | | | | | This can be useful when user has this UEFI boot order e.g.: Windows | grub | Linux And decides to boot into grub/Linux. In case the autorelabel service is being run after the boot into grub, then the reboot after the autorelabel is done will cause user to boot into Windows again... This change should make the behaviour more intuitive for the user.
* network-functions: use tr to upper case strings rather than awkMatteo Croce2018-05-171-3/+3
| | | | | | | | | | | | | | | | | | | | network-functions uses awk to tranform the mac address to upper case. Replace awk with tr which is two order of magnitude faster: $ time awk '{ print toupper($0) }' </usr/share/dict/words >/dev/null real 0m0,227s user 0m0,224s sys 0m0,004s $ time tr '[a-z]' '[A-Z]' </usr/share/dict/words >/dev/null real 0m0,005s user 0m0,000s sys 0m0,005s Also use here-strings instead of spawning a subshell and a pipe. Signed-off-by: Matteo Croce <mcroce@redhat.com>
* sysconfig/readonly-root: Clarify the usage of readonly-root.David Kaspar [Dee'Kej]2018-05-171-0/+2
| | | | | ... Without appending the 'ro' to mount options of '/' mount point the system will be still mounted as read-write, even when READONLY=yes.
* network-functions: add error messages for bonding installationDavid Kaspar [Dee'Kej]2018-05-171-5/+17
| | | | | | | | | | | | | Instead of displaying messages without context, like this: ./network-functions: line 571: echo: write error: Invalid argument ./network-functions: line 598: echo: write error: Permission denied We will now display pretty error messages (via net_log) about what has actually failed... This has been requested by our customer: https://bugzilla.redhat.com/show_bug.cgi?id=1542514
* sysctl.conf.s390: drop SHMALL and SHMMAXDavid Kaspar [Dee'Kej]2018-05-171-6/+0
| | | | | They have sane default values in kernel for IBM machines as well: https://bugzilla.redhat.com/show_bug.cgi?id=1493069
* network.service: 'reload' removedDavid Kaspar [Dee'Kej]2018-05-171-2/+2
| | | | More info: https://bugzilla.redhat.com/show_bug.cgi?id=1554690
* rhel-readonly.service: target name for random seed fixedDavid Kaspar [Dee'Kej]2018-03-091-1/+1
| | | | Resolves: #1553093
* init.d/functions: fix sourcing for kshDavid Kaspar [Dee'Kej]2018-02-131-2/+7
| | | | More info: https://bugzilla.redhat.com/show_bug.cgi?id=1518429
* 9.49.419.49.41David Kaspar [Dee'Kej]2018-01-021-1/+5
|
* ifdown-post: fix logical error in commit 5d61564David Kaspar [Dee'Kej]2018-01-021-1/+1
| | | | | | | Empty ${RESOLV_MODS} was causing a deletion of config files in /etc/ppp/peers/* Resolves: #155
* network-functions: use POSIX forwarding instead of bash-ismDavid Kaspar [Dee'Kej]2017-11-093-3/+3
|
* 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.