aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 10.00.1110.00.11Jan Macku2020-12-151-1/+5
|
* network: add option to keep the link downJan Macku2020-12-159-16/+25
| | | | | | | | | | Some interfaces like Open vSwitch bridges using the userspace datapath, needs the link to be kept down to avoid issues. Add a LINKSTATUS=[down|up] ifcfg parameter to add this functionality. If not specified, the link will default to up as before. Patch provided by Matteo Croce mcroce@redhat.com Resolves: #1555001
* makefile: Use rpmdev-bumpspec's legacy date optionJan Macku2020-11-062-2/+2
| | | Start using legacy date-stamp to remain consistent changelog
* 10.00.1010.00.10Jan Macku2020-11-061-1/+6
|
* Allow updating rfkill switch status while in readonly root modeJan Macku2020-11-061-0/+1
| | | | | | | | Adding rfkill switch status into rwtab. Resolves: #1878874 (cherry picked from commit 537a39f10173d34cd9a2cf75e42225bb339c318e)
* service: Prevent variables from globbingJan Macku2020-11-061-8/+8
| | | Resolves: rhbz #1894855
* Allow updating mlocate.db while in readonly root modeJan Macku2020-11-061-0/+1
| | | | | | | Fixes issue when updatedb does not have the ability to update the mlocate.db Resolves: #1880277 (cherry picked from commit 94aafd1d4fce89f19726dfb1b331198ce7bfd9e9)
* 10.00.910.00.9Jan Macku2020-07-241-1/+4
|
* Add optional 'dev' keywordJan Macku2020-07-242-3/+3
| | | | | | | | | | Fix the problem when the device name could be interpreted as an iproute2 keyword. For example, for a bridge slave named "a" the iproute2 would treat the name as a prefix of keyword "address" and the network-scripts would fail to set the bridge master. Resolves: rhbz #1859785 (cherry picked from commit 100ed46b483b50059b3be796bafaf7b8f2b99220)
* 10.00.810.00.8Jan Macku2020-06-161-1/+6
|
* rwtab: Add support for chronyJan Macku2020-06-161-1/+2
| | | | | | Chrony isn't able to write into its files while stateless mode is active. This patch should avoid this issue. Resolves: #1839003
* ifup-eth: Switch to bc utility, which supports floating point computations.Jan Macku2020-06-162-2/+5
| | | | backport of: 0be5319 Resolves: #1826637
* Replace grep -EL with subshell since -L changed behaviourJan Macku2020-06-161-2/+2
| | | | | | | | | | | Option -L is not supported in grep 3.2+ Related to #rhbz1824324 ----------- Sugested by @lnykryn Related to issue #300 (cherry picked from commit 04bb81ecfef80477a6bfa5b7598f27f5ad53f86e)
* 10.00.710.00.7Jan Macku2020-04-151-1/+6
|
* Wait for scope link addresses as well as for scope global addressesJan Macku2020-04-141-3/+3
| | | | | | | | Fix issue when interface has assigned only local address in tentative state and DHCPv6 isn't able to assign address to that interface. With this patch network-scripts will wait until tentative state is gone (wait for DAD) for all scopes including local one. Resolves: #1809601
* Remove deprecated option -m of pidofJan Macku2020-04-141-2/+2
| | | | Resolves: #1798128 (cherry picked from commit 516fb3ed7b7e2c9e8ba4e996cb9b6051acfdccd3)
* 10.00.610.00.6Jan Macku2019-12-101-1/+5
|
* Fix service network stop cmdJan Macku2019-12-101-0/+7
|
* Fix missing python3 during build phaseJan Macku2019-12-103-3/+7
|
* 10.00.510.00.5Jan Macku2019-10-301-1/+8
|
* network-function: bridges are created by ifup-ethJan Macku2019-10-301-0/+3
| | | | Resolves: rhbz#1762717 (cherry picked from commit 10f09913a177efaf007448c95c8b49dcfdc0a35f)
* network: don't fail with IFDOWN_ON_SHUTDOWNJan Macku2019-10-301-2/+2
| | | Resolve rhbz#1738578
* Add ip6gre tunnel optionJan Macku2019-10-303-2/+7
| | | Resolve: rhbz#1743251
* ifup-eth: Check that device name is setJan Macku2019-10-301-0/+5
| | | Resolve rhbz#1743249
* Initscripts no longer care about rc.localJan Macku2019-10-302-4/+0
| | | Resolve: BZ #1760416
* 10.00.410.00.4Lukas Nykryn2019-08-231-1/+4
|
* ifup-eth: Fix bridge setting stp optionBell2019-08-231-1/+1
| | | | | | | | | | | | | Fixes https://bugzilla.redhat.com/1743522 An uninitialized variable was copied from a closed PR [1] to submitted PR [2]. [1] https://github.com/fedora-sysv/initscripts/pull/212 [2] https://github.com/fedora-sysv/initscripts/pull/213 Signed-off-by: Bell Levin <blevin@redhat.com> (cherry picked from commit dd703a8494647d401dbffa0f036233e08044ec60)
* 10.00.310.00.3Jan Macku2019-08-071-1/+5
|
* rc.d/functions: fix escape sequence being output under systemd service unitsJan Macku2019-08-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When functions provided by /etc/rc.d/functions is used, escape sequence is output under systemd service units and logged into /var/log/messages as follows: # LANG=C systemctl cat foobar.service # /etc/systemd/system/foobar.service [Unit] Description=FOOBAR [Service] Type=oneshot ExecStart=/usr/bin/foobar.sh RemainAfterExit=yes [Install] WantedBy=multi-user.target # cat /usr/bin/foobar.sh #! /bin/bash . /etc/init.d/functions echo_success # LANG=C grep foobar.sh /var/log/messages Aug 7 09:29:54 localhost foobar.sh[29607]: #033[60G[#033[1;32m OK #033[0;39m]#015#033[60G[#033[1;31mFAILED#033[0;39m] This is a regression issue caused by the commit f88dbd98e992 where consoletype command was dropped. Under systemd service units, standard input is associated with /dev/null by default: # systemctl show -p StandardInput foobar.service StandardInput=null man 5 systemd.exec: StandardInput= Controls where file descriptor 0 (STDIN) of the executed processes is connected to. Takes one of null, tty, tty-force, tty-fail, data, file:path, socket or fd:name. If null is selected, standard input will be connected to /dev/null, i.e. all read attempts by the process will result in immediate EOF. consoletype command interprets /dev/null as serial: # consoletype < /dev/null warning: consoletype is now deprecated, and will be removed in the near future! warning: use tty (1) instead! More info: 'man 1 tty' serial The commit f88dbd98e992 overlooks this situation. To fix this issue, check also "not a tty" to cover the case where standard input is /dev/null. Note that LANG=C is needed because the message "not a tty" varies depending on locales. (cherry picked from commit fdcc55839df2334d7a7567de1f02f07ee7a69561)
* Replace not working awk command with sedJan Macku2019-07-311-1/+1
| | | | | | | Sed command get version number from spec file and increment last number by one. Work like old awk command was intended to work. Source: https://stackoverflow.com/questions/14348432/how-to-find-replace-and-increment-a-matched-number-with-sed-awk/14348899
* 10.00.210.00.2Jan Macku2019-06-061-1/+4
|
* ifup-post: fix incorrect condition for RESOLV_MODSDavid Kaspar [Dee'Kej]2019-06-061-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.
* network/ifup/ifdown: deprecations warnings redirected to stderrDavid Kaspar [Dee'Kej]2018-08-063-9/+9
|
* 10.00.110.00.1David Kaspar [Dee'Kej]2018-08-031-1/+6
|
* consoletype/genhostid/usleep: allow disabling of deprecation warningsDavid Kaspar [Dee'Kej]2018-08-033-6/+43
| | | | ... by checking existence of /etc/sysconfig/disable-deprecation-warnings
* network/ifup/ifdown: allow disabling of deprecation warningsDavid Kaspar [Dee'Kej]2018-08-033-7/+9
| | | | ... by checking existence of /etc/sysconfig/disable-deprecation-warnings
* network/ifup/ifdown: deprecation warnings for 'network-scripts' addedDavid Kaspar [Dee'Kej]2018-08-033-0/+19
| | | | | In case of 'network' service these warnings are displayed only once, to not spam unnecessarily user's journalctl if they have many NICs.
* 10.00.010.00.0David Kaspar [Dee'Kej]2018-06-211-1/+4
| | | | ... specfile prepared for next major RHEL release.
* 10.0010.00David Kaspar [Dee'Kej]2018-06-211-1/+5
|
* Move the /etc/rwtab.d & /etc/statetab.d folders to 'filesystem'David Kaspar [Dee'Kej]2018-06-212-4/+0
| | | | | | This will allow services to install drop-in files into these folders for the 'readonly-root' service, but that service won't have to be installed by default as a result...
* specfile: fix failing build because of incorrect use of %{_isa}David Kaspar [Dee'Kej]2018-06-151-2/+2
|
* 9.839.83David Kaspar [Dee'Kej]2018-06-141-1/+30
|
* network-scripts: Add previously dropped error checkingPhil Sutter2018-06-141-2/+2
| | | | | When converting from brctl to ip-link, the call to exit in case bridge adding failed was dropped by accident.
* network-scripts: Replace brctl with ip-linkPhil Sutter2018-06-142-17/+19
| | | | | Since ip-link has full support for Linux bridges (and slave ports), use that instead of the deprecated brctl from bridge-utils.
* Makefile: new release-commit rule addedDavid Kaspar [Dee'Kej]2018-06-141-3/+13
|
* src/rename_device.c: GCC warnings about unused return value suppressedDavid Kaspar [Dee'Kej]2018-06-141-2/+3
|
* src/usernetctl.c: GCC warnings about unused return value suppressedDavid Kaspar [Dee'Kej]2018-06-141-2/+3
|
* Makefile: allow sub-makefiles to run in parallelDavid Kaspar [Dee'Kej]2018-06-141-7/+7
|
* specfile: netconsole service moved to /usr/libexecDavid Kaspar [Dee'Kej]2018-06-143-5/+22
|
* specfile: services from /usr/lib/systemd moved to /usr/libexecDavid Kaspar [Dee'Kej]2018-06-149-14/+15
|