<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts/sysconfig/network-scripts/network-functions, branch 9.78</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>ifup-post: always update nameserver &amp; search entries in /etc/resolv.conf</title>
<updated>2017-10-31T12:11:59+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2017-10-30T16:08:42+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=5d6156454bf8f6dab4a5fdd7e1bf6cdc72c09456'/>
<id>5d6156454bf8f6dab4a5fdd7e1bf6cdc72c09456</id>
<content type='text'>
  This is complete rework of how we generate the /etc/resolv.conf.

  Fixes:
   * always update 'nameserver' &amp; 'search' entries when DNS* &amp; 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  This is complete rework of how we generate the /etc/resolv.conf.

  Fixes:
   * always update 'nameserver' &amp; 'search' entries when DNS* &amp; 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
</pre>
</div>
</content>
</entry>
<entry>
<title>init.d/functions: convert2sec() function added</title>
<updated>2017-08-07T11:23:56+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2017-07-21T09:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=3bd816fb3a30e085cfac69d14f61243920472f65'/>
<id>3bd816fb3a30e085cfac69d14f61243920472f65</id>
<content type='text'>
  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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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).
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace /var/run with /run everywhere</title>
<updated>2017-08-03T11:47:59+00:00</updated>
<author>
<name>Zbigniew JÄdrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2017-08-02T13:07:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=bf00a00483cfa675ea665d6a0dd40d5629bc928a'/>
<id>bf00a00483cfa675ea665d6a0dd40d5629bc928a</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=1471489
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=1471489
</pre>
</div>
</content>
</entry>
<entry>
<title>ARPUPDATE introduced</title>
<updated>2017-07-14T15:22:22+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2017-07-10T16:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=a5361886ac6d7b0b72ea5765b175a96a4521dc2a'/>
<id>a5361886ac6d7b0b72ea5765b175a96a4521dc2a</id>
<content type='text'>
  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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace usleep(1) calls with sleep(1) calls</title>
<updated>2017-05-25T12:10:20+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2017-05-25T11:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=1d039be1e7ed54bca38a2ba290bb4b6a027dd3d5'/>
<id>1d039be1e7ed54bca38a2ba290bb4b6a027dd3d5</id>
<content type='text'>
  The time units had to be manually converted from microseconds to
  seconds. Hopefully this was done right.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  The time units had to be manually converted from microseconds to
  seconds. Hopefully this was done right.
</pre>
</div>
</content>
</entry>
<entry>
<title>DHCP_FQDN and DHCP_SEND_HOSTNAME introduced</title>
<updated>2017-05-03T08:59:51+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2017-05-02T21:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=cb7a84e8106398cd021237f41e7dd1e1e503c286'/>
<id>cb7a84e8106398cd021237f41e7dd1e1e503c286</id>
<content type='text'>
  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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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.
</pre>
</div>
</content>
</entry>
<entry>
<title>re-add missing $HOSTNAME initialization</title>
<updated>2017-04-26T11:25:17+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2017-04-24T12:01:42+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=4f8720706228d316e57ed95c3676e3478eb380fc'/>
<id>4f8720706228d316e57ed95c3676e3478eb380fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>network: load NetworkManager connection via dbus</title>
<updated>2017-02-14T17:57:12+00:00</updated>
<author>
<name>Petr Horáček</name>
<email>phoracek@redhat.com</email>
</author>
<published>2017-01-30T17:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=edcc7e730a0370f41cd4961f632e7590cbaa084f'/>
<id>edcc7e730a0370f41cd4961f632e7590cbaa084f</id>
<content type='text'>
Use dbus to refresh configuration files for NetworkManager in order
to make ifup and ifdown faster.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use dbus to refresh configuration files for NetworkManager in order
to make ifup and ifdown faster.
</pre>
</div>
</content>
</entry>
<entry>
<title>network: check for running NetworkManager via dbus</title>
<updated>2017-02-14T17:57:12+00:00</updated>
<author>
<name>Petr Horáček</name>
<email>phoracek@redhat.com</email>
</author>
<published>2017-01-30T17:47:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=0c48e8d8a32c6db7f5c5c2a20355d0f3d76deda9'/>
<id>0c48e8d8a32c6db7f5c5c2a20355d0f3d76deda9</id>
<content type='text'>
Use dbus instead of nmcli to make ifup command faster.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use dbus instead of nmcli to make ifup command faster.
</pre>
</div>
</content>
</entry>
<entry>
<title>sysconfig/network: NO_DHCP_HOSTNAME option introduced</title>
<updated>2016-11-16T11:17:54+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2016-11-15T16:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=2ea1dcf2d22606f4b30ae16a14a736d0d9dddf24'/>
<id>2ea1dcf2d22606f4b30ae16a14a736d0d9dddf24</id>
<content type='text'>
  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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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.
</pre>
</div>
</content>
</entry>
</feed>
