<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts/network-scripts, branch master</title>
<subtitle>Mageia fork of Fedora's Init Scripts</subtitle>
<link rel='alternate' type='text/html' href='http://gitweb.mageia.org/software/forks/initscripts/'/>
<entry>
<title>ifup-routes: Revert quotes</title>
<updated>2022-01-24T11:24:27+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2022-01-24T10:10:44+00:00</published>
<link rel='alternate' type='text/html' href='http://gitweb.mageia.org/software/forks/initscripts/commit/?id=f0171b8449033400db59a47a610124fc285dfe06'/>
<id>f0171b8449033400db59a47a610124fc285dfe06</id>
<content type='text'>
Quotes were introduced in a71dcfd392cc1022c255208fdd94a0fc6c13ceb0

Resolves: #2044189
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Quotes were introduced in a71dcfd392cc1022c255208fdd94a0fc6c13ceb0

Resolves: #2044189
</pre>
</div>
</content>
</entry>
<entry>
<title>ifup-routes: Use `ip replace` only on type `route`</title>
<updated>2022-01-21T13:17:50+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2022-01-19T13:39:24+00:00</published>
<link rel='alternate' type='text/html' href='http://gitweb.mageia.org/software/forks/initscripts/commit/?id=28f50e5582f3641afac795e0e009fd22875b8dbb'/>
<id>28f50e5582f3641afac795e0e009fd22875b8dbb</id>
<content type='text'>
Since other types might fail due to `replace` to be undefined.

Related: #2034799
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since other types might fail due to `replace` to be undefined.

Related: #2034799
</pre>
</div>
</content>
</entry>
<entry>
<title>ifup-routes: Log when using `ip $type replace`</title>
<updated>2022-01-12T13:34:15+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2022-01-12T12:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://gitweb.mageia.org/software/forks/initscripts/commit/?id=a31060817ef8b03814b240442811ea5caa082d1c'/>
<id>a31060817ef8b03814b240442811ea5caa082d1c</id>
<content type='text'>
Follow-up to #401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to #401
</pre>
</div>
</content>
</entry>
<entry>
<title>ifup-routes: Use `ip route repace` to avoid race</title>
<updated>2022-01-12T11:28:25+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2022-01-11T08:27:26+00:00</published>
<link rel='alternate' type='text/html' href='http://gitweb.mageia.org/software/forks/initscripts/commit/?id=a71dcfd392cc1022c255208fdd94a0fc6c13ceb0'/>
<id>a71dcfd392cc1022c255208fdd94a0fc6c13ceb0</id>
<content type='text'>
This should resolve the scenario when the link is brought
up prior to disabling accept_ra.

This only happens when both IPv4 and IPv6 address is on
the interface, because network-scripts does IPv4 first
and brings up the interface.

Then it does IPv6 which disables the RA's, at that point
the node has already learned the route from RA and setting
a default route fails.

Using `ip route replace` we ensure if the above scenario
happens we end-up with the correct default ipv6 route.

Huge thanks to Harald who debugged this issue and prepared a patch!

Related: #2034799

Co-authored-by: hjensas &lt;hjensas@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should resolve the scenario when the link is brought
up prior to disabling accept_ra.

This only happens when both IPv4 and IPv6 address is on
the interface, because network-scripts does IPv4 first
and brings up the interface.

Then it does IPv6 which disables the RA's, at that point
the node has already learned the route from RA and setting
a default route fails.

Using `ip route replace` we ensure if the above scenario
happens we end-up with the correct default ipv6 route.

Huge thanks to Harald who debugged this issue and prepared a patch!

Related: #2034799

Co-authored-by: hjensas &lt;hjensas@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>network scripts: do not use c-style for-loop</title>
<updated>2021-11-02T11:08:16+00:00</updated>
<author>
<name>hanzongcheng</name>
<email>hanzongcheng@huawei.com</email>
</author>
<published>2021-11-01T16:17:46+00:00</published>
<link rel='alternate' type='text/html' href='http://gitweb.mageia.org/software/forks/initscripts/commit/?id=acc1df2d3918edaee76d95c88bc93ae50fa58de4'/>
<id>acc1df2d3918edaee76d95c88bc93ae50fa58de4</id>
<content type='text'>
Busybox's shell does not support c-style for-loop, use seq method to fix it.

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 c-style for-loop, use seq method to fix it.

Signed-off-by: hanzongcheng &lt;hanzongcheng@huawei.com&gt;
</pre>
</div>
</content>
</entry>
<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='http://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='http://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='http://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>ifdown removes veth pair if both peers are down</title>
<updated>2021-06-24T10:07:01+00:00</updated>
<author>
<name>Geiger</name>
<email>geigereitan@gmail.com</email>
</author>
<published>2017-03-07T15:23:08+00:00</published>
<link rel='alternate' type='text/html' href='http://gitweb.mageia.org/software/forks/initscripts/commit/?id=81b7893dd1627c43464064e670583803aca2d5ff'/>
<id>81b7893dd1627c43464064e670583803aca2d5ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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='http://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>
</feed>
