<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts/network-scripts/ifup-eth, branch 10.15</title>
<subtitle>Mageia fork of Fedora's Init Scripts</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/'/>
<entry>
<title>network scripts: replace "&lt;&lt;&lt;" with pipe</title>
<updated>2021-11-02T11:08:16+00:00</updated>
<author>
<name>hanzongcheng</name>
<email>hanzongcheng@huawei.com</email>
</author>
<published>2021-11-01T16:16:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=e5d95235f235c685986706224d759219a84601c7'/>
<id>e5d95235f235c685986706224d759219a84601c7</id>
<content type='text'>
Busybox's shell does not support "&lt;&lt;&lt;", fix it by using pipe.

Signed-off-by: hanzongcheng &lt;hanzongcheng@huawei.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Busybox's shell does not support "&lt;&lt;&lt;", fix it by using pipe.

Signed-off-by: hanzongcheng &lt;hanzongcheng@huawei.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>added veth support</title>
<updated>2021-06-24T10:11:04+00:00</updated>
<author>
<name>Geiger</name>
<email>geigereitan@gmail.com</email>
</author>
<published>2017-03-05T12:26:15+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=2e8de416fe609b04f2af3995890d9be8276c5e7b'/>
<id>2e8de416fe609b04f2af3995890d9be8276c5e7b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ifup-eth: add a new PERSISTENT_DHCLIENT_IPV6 option for IPv6 dhclient daemon</title>
<updated>2021-06-24T10:07:01+00:00</updated>
<author>
<name>Zhiqiang Liu</name>
<email>liuzhiqiang26@huawei.com</email>
</author>
<published>2019-03-05T20:25:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=a8212c1b232a902938d0e5ea6a82bd6ae52e861c'/>
<id>a8212c1b232a902938d0e5ea6a82bd6ae52e861c</id>
<content type='text'>
In 76226a34 ("ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon"),
one PERSISTENT_DHCLIENT option works for both IPv4 and IPv6, so the IPv4
and IPv6 settings are consistent. However, the user settings for IPv4 and IPv6
are limited.

For example, users try to adopt both IPv4 and IPv6 protocol. DHCPv6 servers
may be not stable as DHCP servers, thus the expectation for obtaining IPv6
address is lower than IPv4 address. For users, IPv4 address must be
obtained for the basic communication. So the PERSISTENT_DHCLIENT option is
set to be "yes | 1" for IPv4 address. However, the network service may be
stuck until it fails due to missing DHCPv6 servers, and the remaining devices also
cannot obtain both IPv4 and IPv6 addresses. The problem is very serious for users.

Here, I add a new PERSISTENT_DHCLIENT_IPV6 option only for IPv6 dhclient daemon,
so users can set IPv4 and IPv6 separately.

Fixes: 76226a3 ("ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon")
Signed-off-by: Zhiqiang Liu &lt;liuzhiqiang26@huawei.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In 76226a34 ("ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon"),
one PERSISTENT_DHCLIENT option works for both IPv4 and IPv6, so the IPv4
and IPv6 settings are consistent. However, the user settings for IPv4 and IPv6
are limited.

For example, users try to adopt both IPv4 and IPv6 protocol. DHCPv6 servers
may be not stable as DHCP servers, thus the expectation for obtaining IPv6
address is lower than IPv4 address. For users, IPv4 address must be
obtained for the basic communication. So the PERSISTENT_DHCLIENT option is
set to be "yes | 1" for IPv4 address. However, the network service may be
stuck until it fails due to missing DHCPv6 servers, and the remaining devices also
cannot obtain both IPv4 and IPv6 addresses. The problem is very serious for users.

Here, I add a new PERSISTENT_DHCLIENT_IPV6 option only for IPv6 dhclient daemon,
so users can set IPv4 and IPv6 separately.

Fixes: 76226a3 ("ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon")
Signed-off-by: Zhiqiang Liu &lt;liuzhiqiang26@huawei.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>network scripts: Avoid infinite loop of arping</title>
<updated>2021-02-12T13:13:40+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2021-02-12T09:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=6c9689c792ac7771159794ee24ab99bd746318d9'/>
<id>6c9689c792ac7771159794ee24ab99bd746318d9</id>
<content type='text'>
Introduced in the bonding driver (commit ae46f184bc1f) now reports transmission failures.
Before that, it silently dropped the packet and replied with success error code.

The arping of iputils retries endlessly when a transmission error occurs.

This patch fix this behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduced in the bonding driver (commit ae46f184bc1f) now reports transmission failures.
Before that, it silently dropped the packet and replied with success error code.

The arping of iputils retries endlessly when a transmission error occurs.

This patch fix this behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>network: add option to keep the link down</title>
<updated>2020-12-03T13:33:07+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-12-03T13:33:07+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=0ac0949b03cdfc2c06ba997e9b3b890a5ca17b1f'/>
<id>0ac0949b03cdfc2c06ba997e9b3b890a5ca17b1f</id>
<content type='text'>
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 &lt;mcroce@redhat.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;mcroce@redhat.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add optional 'dev' keyword</title>
<updated>2020-07-24T11:44:37+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-07-24T11:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=299efd663b4614f4698cf2bc9b9ba8e72df9387e'/>
<id>299efd663b4614f4698cf2bc9b9ba8e72df9387e</id>
<content type='text'>
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.

Related: rhbz #1859785</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

Related: rhbz #1859785</pre>
</div>
</content>
</entry>
<entry>
<title>Repalace hardcoded tests for yes and no with testing functions</title>
<updated>2019-09-12T10:32:36+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-09-12T10:32:36+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=66d26269a83229b7340f7ace06dfc715c04df7d8'/>
<id>66d26269a83229b7340f7ace06dfc715c04df7d8</id>
<content type='text'>
Resolve issue: #42</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolve issue: #42</pre>
</div>
</content>
</entry>
<entry>
<title>ifup-eth: Fix bridge setting stp option</title>
<updated>2019-08-21T08:54:30+00:00</updated>
<author>
<name>Bell</name>
<email>blevin@redhat.com</email>
</author>
<published>2019-08-21T08:54:30+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=dd703a8494647d401dbffa0f036233e08044ec60'/>
<id>dd703a8494647d401dbffa0f036233e08044ec60</id>
<content type='text'>
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 &lt;blevin@redhat.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;blevin@redhat.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>ifup-eth: Check that device name is set</title>
<updated>2019-08-19T10:01:11+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-08-19T08:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=c060c55bd62a18f5563cc30c894d07b0ec1be497'/>
<id>c060c55bd62a18f5563cc30c894d07b0ec1be497</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon</title>
<updated>2019-02-12T13:14:24+00:00</updated>
<author>
<name>Zhiqiang Liu</name>
<email>liuzhiqiang26@huawei.com</email>
</author>
<published>2019-02-12T12:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=76226a349cd65ec9b511bc68e8f3cf8c291b7057'/>
<id>76226a349cd65ec9b511bc68e8f3cf8c291b7057</id>
<content type='text'>
IPv6 dhclient daemon only tries one time to obtain a IPv6 address
from a DHCPv6 server regardless of the setting of PERSISTENT_DHCLIENT.
PERSISTENT_DHCLIENT option is only used for IPv4 dhclient daemon.

With the popularization of IPv6 protocol, some users prefer setting
IPv6 like IPv4. I think there are two solutions as follows,
1. adopt PERSISTENT_DHCLIENT option to both IPv4 and IPv6.
2. create a new option, such as PERSISTENT_DHCLIENT_IPV6 option,
just for IPv6.

The first solution does not introduce addition options, and the IPv4
and IPv6 settings are consistent. So I perfer choosing the first
solution.

Fixes: bf00a0048 ("Replace /var/run with /run everywhere")
Signed-off-by: Zhiqiang Liu &lt;liuzhiqiang26@huawei.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IPv6 dhclient daemon only tries one time to obtain a IPv6 address
from a DHCPv6 server regardless of the setting of PERSISTENT_DHCLIENT.
PERSISTENT_DHCLIENT option is only used for IPv4 dhclient daemon.

With the popularization of IPv6 protocol, some users prefer setting
IPv6 like IPv4. I think there are two solutions as follows,
1. adopt PERSISTENT_DHCLIENT option to both IPv4 and IPv6.
2. create a new option, such as PERSISTENT_DHCLIENT_IPV6 option,
just for IPv6.

The first solution does not introduce addition options, and the IPv4
and IPv6 settings are consistent. So I perfer choosing the first
solution.

Fixes: bf00a0048 ("Replace /var/run with /run everywhere")
Signed-off-by: Zhiqiang Liu &lt;liuzhiqiang26@huawei.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
