<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts/network-scripts/ifup-eth, branch 10.07</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: 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>
<entry>
<title>ifup-eth: use 'bc' instead of 'expr' when computing $forward_delay</title>
<updated>2018-08-03T10:57:38+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-07-30T12:15:24+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=27724e4df026baa6def7d44ed08f4b8a7c1fdec7'/>
<id>27724e4df026baa6def7d44ed08f4b8a7c1fdec7</id>
<content type='text'>
  Because the return value of 'convert2sec()' function can sometimes be
  decimal, the follow up 'expr' call can fail, since 'expr' does not
  support floating point calculations. This can sometimes lead to error:

  """
  expr: non-integer argument
  /etc/sysconfig/network-scripts/ifup-eth: line 91: [: 0: unary operator
  expected
  """

  To solve this bug, we switch to 'bc' utility, which supports floating
  point computations. We also have to change the comparison condition of
  $LINKDELAY and $forward_delay to use 'bc' as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Because the return value of 'convert2sec()' function can sometimes be
  decimal, the follow up 'expr' call can fail, since 'expr' does not
  support floating point calculations. This can sometimes lead to error:

  """
  expr: non-integer argument
  /etc/sysconfig/network-scripts/ifup-eth: line 91: [: 0: unary operator
  expected
  """

  To solve this bug, we switch to 'bc' utility, which supports floating
  point computations. We also have to change the comparison condition of
  $LINKDELAY and $forward_delay to use 'bc' as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>network-scripts: Add previously dropped error checking</title>
<updated>2018-06-14T14:27:36+00:00</updated>
<author>
<name>Phil Sutter</name>
<email>psutter@redhat.com</email>
</author>
<published>2018-06-12T11:54:15+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=88b3ac3840cc993901f971a2a99046881d9e46c4'/>
<id>88b3ac3840cc993901f971a2a99046881d9e46c4</id>
<content type='text'>
When converting from brctl to ip-link, the call to exit in case bridge
adding failed was dropped by accident.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When converting from brctl to ip-link, the call to exit in case bridge
adding failed was dropped by accident.
</pre>
</div>
</content>
</entry>
<entry>
<title>network-scripts: Replace brctl with ip-link</title>
<updated>2018-06-14T14:27:36+00:00</updated>
<author>
<name>Phil Sutter</name>
<email>psutter@redhat.com</email>
</author>
<published>2018-06-11T14:58:20+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=bf40c2768d6b6614cc0f1b4fb68ca011489e89d3'/>
<id>bf40c2768d6b6614cc0f1b4fb68ca011489e89d3</id>
<content type='text'>
Since ip-link has full support for Linux bridges (and slave ports), use
that instead of the deprecated brctl from bridge-utils.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since ip-link has full support for Linux bridges (and slave ports), use
that instead of the deprecated brctl from bridge-utils.
</pre>
</div>
</content>
</entry>
<entry>
<title>network-scripts: setting of firewall ZONE fixed</title>
<updated>2018-06-07T12:04:50+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-06-06T17:19:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=12a83d3ef4244d354cba541ce8d3f0ded9773c89'/>
<id>12a83d3ef4244d354cba541ce8d3f0ded9773c89</id>
<content type='text'>
  For currently unknown reason the dbus-send calls will fail to set the
  firewall zone for the given interface if we omit the --print-reply
  option...

  This looks like some kind of race-condition in dbus-send, since the
  --print-reply makes the call synchronous and slower.

  Hopefully this is only a temporary workaround until DBus is fixed.

  Resolves: #1586284
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  For currently unknown reason the dbus-send calls will fail to set the
  firewall zone for the given interface if we omit the --print-reply
  option...

  This looks like some kind of race-condition in dbus-send, since the
  --print-reply makes the call synchronous and slower.

  Hopefully this is only a temporary workaround until DBus is fixed.

  Resolves: #1586284
</pre>
</div>
</content>
</entry>
</feed>
