aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* specfile: summary & description updatedDavid Kaspar [Dee'Kej]2018-06-141-3/+3
|
* specfile: no longer needed conflicts droppedDavid Kaspar [Dee'Kej]2018-06-141-8/+0
|
* specfile: requirements cleanupDavid Kaspar [Dee'Kej]2018-06-141-21/+16
|
* specfile: obsoletes on previous version of initscripts package addedDavid Kaspar [Dee'Kej]2018-06-141-0/+8
| | | | | | | | This makes sure all the subpackages stay installed during the upgrade for Fedora users. After that users will be able to manually remove the packages if needed... Fresh installations will have only initscripts installed.
* specfile: network-scripts subpackage createdDavid Kaspar [Dee'Kej]2018-06-1410-28/+78
|
* specfile: readonly-root subpackage createdDavid Kaspar [Dee'Kej]2018-06-141-15/+55
|
* specfile: netconsole-service subpackage createdDavid Kaspar [Dee'Kej]2018-06-141-4/+38
|
* README.md: Travis CI build icon addedDavid Kaspar [Dee'Kej]2018-06-131-1/+1
|
* .travis.yml: check the 'make install' proceeds as wellDavid Kaspar [Dee'Kej]2018-06-131-1/+1
|
* .travis.yml: initial commitDavid Kaspar [Dee'Kej]2018-06-131-0/+12
| | | | To build in container-based environment because of speed.
* README.md: bug reporting describedDavid Kaspar [Dee'Kej]2018-06-121-0/+10
|
* README.dm: future of initscripts describedDavid Kaspar [Dee'Kej]2018-06-121-0/+15
|
* README.md: description addedDavid Kaspar [Dee'Kej]2018-06-121-0/+20
|
* README.md: references to old git branches addedDavid Kaspar [Dee'Kej]2018-06-121-0/+45
|
* README.md: initial commitDavid Kaspar [Dee'Kej]2018-06-121-0/+7
| | | | Resolves: #75
* 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
* ifdown-post: artifact whitespace removed from the DBus callDavid Kaspar [Dee'Kej]2018-06-071-1/+1
| | | | | | | This was causing the DBus call to fail, and we didn't catch it before since we were forwarding everything into /dev/null... Related: RHBZ#1586284
* l10n: drop .tx directoryDaniel Rusek2018-06-061-8/+0
|
* l10n: add zanata.xmlDaniel Rusek2018-06-061-0/+9
|
* 9.829.82David Kaspar [Dee'Kej]2018-06-041-1/+5
|
* Makefile: make the creation of symlinks relative to path againDavid Kaspar [Dee'Kej]2018-06-041-5/+3
| | | | Resolves: RHBZ#1585321
* specfile: trailing file of netreport removedDavid Kaspar [Dee'Kej]2018-06-041-1/+0
| | | | This was causing RPM build to fail, since it couldn't find the file.
* 9.819.81David Kaspar [Dee'Kej]2018-06-011-1/+31
|
* src/consoletype.c: deprecation warning addedDavid Kaspar [Dee'Kej]2018-06-011-1/+4
|
* src/genhostid.c: deprecation warning addedDavid Kaspar [Dee'Kej]2018-06-011-0/+4
|