| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Resolves: #1798128
(cherry picked from commit 516fb3ed7b7e2c9e8ba4e996cb9b6051acfdccd3)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Resolves: rhbz#1762717
(cherry picked from commit 10f09913a177efaf007448c95c8b49dcfdc0a35f)
|
|
|
| |
Resolve rhbz#1738578
|
|
|
| |
Resolve: rhbz#1743251
|
|
|
| |
Resolve rhbz#1743249
|
|
|
| |
Resolve: BZ #1760416
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
... by checking existence of /etc/sysconfig/disable-deprecation-warnings
|
|
|
|
| |
... by checking existence of /etc/sysconfig/disable-deprecation-warnings
|
|
|
|
|
| |
In case of 'network' service these warnings are displayed only once,
to not spam unnecessarily user's journalctl if they have many NICs.
|
|
|
|
| |
... specfile prepared for next major RHEL release.
|
| |
|
|
|
|
|
|
| |
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...
|
| |
|
| |
|
|
|
|
|
| |
When converting from brctl to ip-link, the call to exit in case bridge
adding failed was dropped by accident.
|
|
|
|
|
| |
Since ip-link has full support for Linux bridges (and slave ports), use
that instead of the deprecated brctl from bridge-utils.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
To build in container-based environment because of speed.
|
| |
|
| |
|
| |
|