aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 9.49.539.49.53Jan Macku2020-05-221-1/+4
|
* rwtab: Add support for chronyJan Macku2020-05-221-1/+2
| | | | | | Chrony isn't able to write into its files while stateless mode is active. This patch should avoid this issue. Resolves: #1838260
* 9.49.529.49.52Jan Macku2020-05-181-1/+4
|
* ifup-eth: Switch to bc utility, which supports floating point computations.Jan Macku2020-05-182-2/+5
| | | | backport of: 0be531981e4066af4d657715530ff905cea02fe9 Resolves: #1609687
* 9.49.519.49.51Jan Macku2020-03-181-1/+4
|
* ipv6_wait_tentative(): Fix error messageJan Macku2020-03-181-1/+1
| | | Related: #1773798
* 9.49.509.49.50Jan Macku2020-03-111-1/+4
|
* Wait for scope link addresses as well as for scope global addressesJan Macku2020-03-111-2/+2
| | | Resolves: #1773798
* 9.49.499.49.49Jan Macku2019-08-191-1/+5
|
* ifup-eth: Check that device name is setJan Macku2019-08-191-0/+5
|
* Add option for IPv6 GRE tunnel.Jan Macku2019-08-193-2/+7
| | | Resolve: BZ #1691552
* 9.44.489.49.48Jan Macku2019-08-061-2/+7
|
* network: don't fail with IFDOWN_ON_SHUTDOWN (#269)Jan Macku2019-08-051-2/+2
|
* Configure autorelabel service to output to journal and to console if set (#262)Jan Macku2019-08-051-1/+1
|
* 9.44.479.49.47Jan Macku2019-03-291-1/+4
|
* Fix file permissions for /var/log/dmesg*Jan Macku2019-03-291-2/+2
| | | | See https://bugzilla.redhat.com/show_bug.cgi?id=1584317 for more info.
* 9.44.469.49.46David Kaspar [Dee'Kej]2018-08-241-1/+4
|
* ifup-post: fix incorrect condition for RESOLV_MODSDavid Kaspar [Dee'Kej]2018-08-241-1/+1
| | | | | | | | | | This was causing the /etc/resolv.conf file to be always updated when RESOLV_MODS was not set... Before the commit 5d6156454bf8f6dab4a5fdd7e1bf6 we were not updating the /etc/resolv.conf file if the RESOLV_MODS was empty. See https://bugzilla.redhat.com/show_bug.cgi?id=1610411 for more info.
* 9.44.459.49.45David Kaspar [Dee'Kej]2018-07-241-1/+6
|
* network: parsing of /proc/mounts returnedDavid Kaspar [Dee'Kej]2018-07-241-1/+6
| | | | | | | This partially reverts the commit 15eaf7ece, because systemd's generated unit files might have incorrect dependencies at some circumstances, thus causing diskless nfs-clients to hang while unmounting root filesystem after '$ service network stop'.
* netconsole: LSB header addedDavid Kaspar [Dee'Kej]2018-07-241-0/+7
| | | | | | Since we are using systemd, the Default-Start/Stop keywords were omitted. Basically the LSB header is quite similar to LSB header of network service...
* ifdown-eth: no longer needed 'pidof -x dhclient' condition removedDavid Kaspar [Dee'Kej]2018-07-241-2/+2
| | | | | | | | | | Previously, there were 2 additional conditions related to this part of code, but they were removed in time, so this last condition has remained an artifact and is de-facto obsolete. However, the 'pidof -x dhclient' condition could cause the network service to hang on stop/restart when processes were executed from a network share... Removing that condition should hypothetically fix it.
* 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
|