| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Also, the code has been fixed to comply with PEP8 specification.
More info: https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
|
| |
More info: https://bugzilla.redhat.com/show_bug.cgi?id=1554690
|
|
|
|
| |
Docs for stuff I added in #2, #6, and #16.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ifup-tunnel: Support 'external' tunnels
This is a newish feature upstream. You can now set the external flag on a
ip6_tunnel type interface (though not the primary one, ip6tnl0), and doing so
will allow it to decapsulate any packet, and assuming that the inner address is
the one on that interface, it'll drop it back on the stack.
This is useful for DSR vips. While v6-in-v6 was already supported, this allows
v4-in-v6 which is necessary to serve v4 traffic in a v6only infrastructure.
There's comments in ifup-tunnel that imply it was designed only for GRE tunnels,
but this still seems like the best place for this.
|
|
|
|
| |
https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequire
|
|
|
|
| |
More info: https://bugzilla.redhat.com/show_bug.cgi?id=1518429
|
| |
|
|
|
|
|
|
|
| |
Empty ${RESOLV_MODS} was causing a deletion of config files in
/etc/ppp/peers/*
Resolves: #155
|
|
|
| |
* network: add knob to optionally keep interfaces up during shutdown
|
| |
|
| |
|
|
|
|
|
|
|
| |
This will allow users to unistall 'system-release' or 'fedora-release'
package, thus allowing de-branding of Fedora if needed. For more info:
https://bugzilla.redhat.com/show_bug.cgi?id=1493479
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
* always keep /etc/resolv.conf.save as a proper backup - do not
overwrite it everytime when updating 'nameserver' or 'search'
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The symlinks are no longer needed. Enablement of default services is
now managed by 'fedora-release' package.
|
|
|
|
|
| |
To speed things up. Based on patch & comments from:
https://bugzilla.redhat.com/show_bug.cgi?id=1497759
|
|
|
|
|
|
|
|
|
|
|
| |
Using this package was very dangerous, and could lead to instability
of system, or even being unable to bootup at all, and value of this
functionality was at least questionable, and was not documented.
We decided to drop functionality completely, to make sure users do not
install it accidentally (e.g. by using globbing with 'dnf install').
Resolves: #69
|
|
|
|
|
| |
Users can still create the /etc/sysconfig/init file manually to
override the default values, which are now taken from init.d/functions.
|
|
|
|
| |
This is a follow up to 13d638c0a7df4a998429163b9a0189dcffa2393a.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also drop the argv[0] as previx — the message already includes the
name of the program.
$ src/usleep 1
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1e-06" instead...
$ src/usleep 10
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1e-05" instead...
$ src/usleep 20
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 2e-05" instead...
$ src/usleep 100
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0001" instead...
$ src/usleep 200
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0002" instead...
$ src/usleep 300
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0003" instead...
$ src/usleep 400
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0004" instead...
$ src/usleep 1000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.001" instead...
$ src/usleep 10000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.01" instead...
$ src/usleep 100000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.1" instead...
$ src/usleep 1000000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1" instead...
$ src/usleep 10000000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 10" instead...
For very small and very large values, printf uses scientific notation,
but that seems nicer than using %.f which would always leave trailing
zeroes. sleep accepts scientific notation, so things should still work.
https://bugzilla.redhat.com/show_bug.cgi?id=1494168
|
| |
|
|
|
|
| |
Error caused by commit 13d638c0a7df4a.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When we are creating rpm, we install initscripts to chroot,
so the ROOT variable is set. And since we need that directory
in the package [1], we would have to create it in spec file
anyway.
[1] https://fedoraproject.org/wiki/Packaging:Tmpfiles.d
This reverts commit b119d37d1929a09e25bf288d0273aaaf8c7de86e.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Otherwise obtaining IP from DHCP might fail. Based on patch from:
* Rich Alloway <richard.alloway@roguewave.com> | CentOS BZ #0011138
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Do not create anything under /run when $(ROOT) is non-empty: when
we're installing into a chroot /run might not be mounted, and
creating files there is counterproductive.
|
|
|
|
| |
https://bugzilla.redhat.com/show_bug.cgi?id=1471489
|
|
|
|
|
| |
This file hasn't been called that for a while, so update various
references to the new sysctl.d names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This file now only contains lines to disable netfilter on bridges.
In kernel 3.18 this filtering functionality was made non-default by
moving it to br_netfilter [https://bugzilla.redhat.com/show_bug.cgi?id=512206].
Aybody who actually wants to use br_netfilter has to load it explicitly
anyway, so disabling it through sysctl isn't necessary anymore.
The reason for removal is that by default (i.e. when br_netfilter is
not loaded), we get a warning on every boot:
systemd-sysctl[210]: Couldn't write '0' to 'net/bridge/bridge-nf-call-ip6tables', ignoring: No such file or directory
systemd-sysctl[210]: Couldn't write '0' to 'net/bridge/bridge-nf-call-iptables', ignoring: No such file or directory
systemd-sysctl[210]: Couldn't write '0' to 'net/bridge/bridge-nf-call-arptables', ignoring: No such file or directory
This is confusing for users and inelegant.
The downside of removing this file is for people who load br_netfilter
for some reason *and* do no want to use it, will have to take an
additional step now (either restore the sysctl settings or remove br_netfilter
from /etc/modules-load.d or wherever). I expect the number of people affected
to be very small.
(Note that the file was overwritten on sparc and s390, so those
architectures see no change.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From https://fedoraproject.org/wiki/Changes/Drop_256term.sh:
This is a work-around and it's better to for the terminal emulator
to set $TERM properly on its own. Various terminal emulators have
been updated to do that.
When those scripts are removed, whatever the virtual terminal or
terminal emulator sets as $TERM will be used.
Fixes #107.
C.f. https://bugzilla.redhat.com/show_bug.cgi?id=1165439.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* .orig & .old now recognized as config files
* code cleanup
|
| |
|
|
|
|
|
| |
The time units had to be manually converted from microseconds to
seconds. Hopefully this was done right.
|
| |
|