| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* .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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The way DHCP_HOSTNAME is being sent to DHCP server has been completely
reworked...
DHCP_FQDN now allows user to specify fully qualified domain name to be
sent to DHCP server instead of just using simple hostname. This option
takes precedence before DHCP_HOSTNAME variable.
DHCP_SEND_HOSTNAME can be used to tell initscripts to not send either
DHCP_HOSTNAME or DHCP_FQDN to DHCP server.
Both of these options should behave same as they do in NetworkManager.
|
| |
|
| |
|
| |
|
|
|
|
| |
Taken from RHEL-6.9, for forward compatibility.
|
|
|
|
| |
... but it is stuck some time
|
|
|
|
|
| |
With quote marks all the parameters to dhclient are passed as one
Resolves: #1410429
|
| |
|
|
|
|
| |
Resolves: #1414090
|
| |
|
| |
|
|
|
|
| |
Move everything to github
|
|
|
| |
The correct language code for Basque is “eu”, which already exists in initscripts, and this duplicate file is empty anyway.
|
|
|
|
| |
autorelabel was moved to selinux package
|
|
|
|
|
|
|
|
| |
Instead of adding the IPv6 address when ifup is called, we replace the
address, because it might have been auto-assigned before by RA.
This is to assure that static NIC configuration will take effect if
the NIC was already dynamically configured by RA.
|
|
|
|
|
| |
Use dbus to refresh configuration files for NetworkManager in order
to make ifup and ifdown faster.
|
|
|
|
| |
Use dbus instead of nmcli to make ifup command faster.
|
|
|
|
|
|
|
| |
Previously, some administrators were unable to force initscripts to
not obtatin hostname from DHCP, even though they were using static
configuration of network. Righ now, setting 'NO_DHCP_HOSTNAME' to
'yes', 'true' or '1' in /etc/sysconfig/network will allow them to do so.
|
|
|
|
|
|
|
| |
Typo introduced in commit 432951d.
Related: https://github.com/fedora-sysv/initscripts/pull/2
Signed-off-by: Pavel Šimerda <pavlix@pavlix.net>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Nowadays /usr is a essential part of system and if it is on network,
we need to unmount it in shutdown dracut.
Also parsing /etc/mtab does not work anymore.
Fixes: rhbz#1369790
|
| |
|
|
|
|
| |
Resolves: #1099026
|
|
|
|
| |
This has patch has been suggested in RHBZ #950453, by Konrad Moson.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
`ifup` can set _some_ route options. Today it's missing several and so, to set
something like `mtu` or `advmss` you have to do hacks like:
```
METRIC='10 mtu 1480'
```
which is sub-optimal. Rather than one-off add support for everything in the man
page, provide a hook for arbitrary extra route options.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When running:
```
service x restart
```
You get:
```
Redirecting to /bin/systemctl restart x.service
```
With 2 spaces after restart.
This commits fixes that behaviour.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
|
|
|
|
|
|
| |
Thanks to shellcheck. :)
This is ontop of the whitespace PRs, those should go in first.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The network-scripts are a mix of tabs and spaces (!!) as well as
completely inconsistent indentation (some 2, some 4).
This is a series of 3 patches to move the entire of network-scripts to
2-space indentation for consistency so I can develop on the codebase
without my brain bleeding. I don't feel strongly about 2 vs 4... 2 was
just most common in the first file I picked, so I used that.
This set is in 3 sets for easier reviewing and easier reverting if
necessary:
* 1/3 - ipv6 files
* 2/3 - network-functions - it needed it's own
* 3/3 - ifup/ifdown files
|
| |
|
|
|
|
|
|
|
| |
It's reasonable (and common) to assign static addresses while still
wanting to get your default gw from your router. The assumption that not
wanting SLAAC means not wanting RA is flawed, but I don't want to break
backwards compatability, so I'm adding an additional option.
|
|
|
|
|
|
|
|
|
|
|
| |
network-scripts makes odd assumptions, like if I don't want SLAAC (i.e.
if I turn off AUTOCONF) that I also don't want RA. This is not true,
it's common to have a static local address, but to get my gateway
through RA.
This is one solution. I will also be sending a more specific solution to
enable the above directly, but having a way to tell network-scripts
to not mess with systctls seems generally useful.
|
| |
|
| |
|