<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts, branch 9.80</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>9.80</title>
<updated>2018-05-25T10:06:16+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-05-25T09:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=b5fd18ec4fd3e320e09ab896486f79941f12039c'/>
<id>b5fd18ec4fd3e320e09ab896486f79941f12039c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sysconfig/readonly-root: Clarify the usage of readonly-root.</title>
<updated>2018-05-17T13:17:39+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-05-10T15:18:54+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=d3fdd87fede9ced2b576c212c77e0a159faeb8d5'/>
<id>d3fdd87fede9ced2b576c212c77e0a159faeb8d5</id>
<content type='text'>
  ... Without appending the 'ro' to mount options of '/' mount point the
  system will be still mounted as read-write, even when READONLY=yes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  ... Without appending the 'ro' to mount options of '/' mount point the
  system will be still mounted as read-write, even when READONLY=yes.
</pre>
</div>
</content>
</entry>
<entry>
<title>use proper shebang</title>
<updated>2018-05-17T12:42:21+00:00</updated>
<author>
<name>Matteo Croce</name>
<email>mcroce@redhat.com</email>
</author>
<published>2018-04-09T21:59:22+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=fd269fff7f638b40372fb1cecbf2b74fcb2d079a'/>
<id>fd269fff7f638b40372fb1cecbf2b74fcb2d079a</id>
<content type='text'>
$" is a BASH extension to translate text.
Replace the shebang with /bin/bash to avoid parsing errors,
as even BASH has a POSIX compliant mode when run as sh.

Signed-off-by: Matteo Croce &lt;mcroce@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$" is a BASH extension to translate text.
Replace the shebang with /bin/bash to avoid parsing errors,
as even BASH has a POSIX compliant mode when run as sh.

Signed-off-by: Matteo Croce &lt;mcroce@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>specfile: remove the systemctl call in the %postun phase</title>
<updated>2018-05-17T12:38:34+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-03-12T13:07:43+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=48fed04b81a59c4610dbbfc7db09ec0eec8ecbe9'/>
<id>48fed04b81a59c4610dbbfc7db09ec0eec8ecbe9</id>
<content type='text'>
  https://bugzilla.redhat.com/show_bug.cgi?id=1512688
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  https://bugzilla.redhat.com/show_bug.cgi?id=1512688
</pre>
</div>
</content>
</entry>
<entry>
<title>network-functions: use tr to upper case strings rather than awk</title>
<updated>2018-05-17T12:37:21+00:00</updated>
<author>
<name>Matteo Croce</name>
<email>mcroce@redhat.com</email>
</author>
<published>2018-04-09T22:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=beeec3c4050e2986f514725c92d1cb1d65005926'/>
<id>beeec3c4050e2986f514725c92d1cb1d65005926</id>
<content type='text'>
network-functions uses awk to tranform the mac address to upper case.
Replace awk with tr which is two order of magnitude faster:

    $ time awk '{ print toupper($0) }' &lt;/usr/share/dict/words &gt;/dev/null

    real    0m0,227s
    user    0m0,224s
    sys     0m0,004s
    $ time tr '[a-z]' '[A-Z]' &lt;/usr/share/dict/words &gt;/dev/null

    real    0m0,005s
    user    0m0,000s
    sys     0m0,005s

Also use here-strings instead of spawning a subshell and a pipe.

Signed-off-by: Matteo Croce &lt;mcroce@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
network-functions uses awk to tranform the mac address to upper case.
Replace awk with tr which is two order of magnitude faster:

    $ time awk '{ print toupper($0) }' &lt;/usr/share/dict/words &gt;/dev/null

    real    0m0,227s
    user    0m0,224s
    sys     0m0,004s
    $ time tr '[a-z]' '[A-Z]' &lt;/usr/share/dict/words &gt;/dev/null

    real    0m0,005s
    user    0m0,000s
    sys     0m0,005s

Also use here-strings instead of spawning a subshell and a pipe.

Signed-off-by: Matteo Croce &lt;mcroce@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>network-functions: add error messages for bonding installation</title>
<updated>2018-05-17T12:34:09+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-05-02T13:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=aed9dbbe5c70c973df0691b8d0e3565241120fe0'/>
<id>aed9dbbe5c70c973df0691b8d0e3565241120fe0</id>
<content type='text'>
  Instead of displaying messages without context, like this:

  ./network-functions: line 571: echo: write error: Invalid argument
  ./network-functions: line 598: echo: write error: Permission denied

  We will now display pretty error messages (via net_log) about what has
  actually failed...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Instead of displaying messages without context, like this:

  ./network-functions: line 571: echo: write error: Invalid argument
  ./network-functions: line 598: echo: write error: Permission denied

  We will now display pretty error messages (via net_log) about what has
  actually failed...
</pre>
</div>
</content>
</entry>
<entry>
<title>ifdown-eth: no longer needed 'pidof -x dhclient' condition removed</title>
<updated>2018-05-17T12:28:50+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-05-14T11:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=3f178ab90d8b06f0396c9580b7886de1e2a92b49'/>
<id>3f178ab90d8b06f0396c9580b7886de1e2a92b49</id>
<content type='text'>
  Previously, there were 2 additional conditions related to this part of
  code, but they were removed in time, so this last condition has
  remained an artifact and is de-facto obsolete.

  However, the 'pidof -x dhclient' condition could cause the network
  service to hang on stop/restart when processes were executed from a
  network share... Removing that condition should hypothetically fix it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Previously, there were 2 additional conditions related to this part of
  code, but they were removed in time, so this last condition has
  remained an artifact and is de-facto obsolete.

  However, the 'pidof -x dhclient' condition could cause the network
  service to hang on stop/restart when processes were executed from a
  network share... Removing that condition should hypothetically fix it.
</pre>
</div>
</content>
</entry>
<entry>
<title>netconsole: LSB header added</title>
<updated>2018-05-17T12:27:58+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-05-14T12:19:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=defacdbdbdec39eb62b166cca02f266647819b28'/>
<id>defacdbdbdec39eb62b166cca02f266647819b28</id>
<content type='text'>
  Since we are using systemd, the Default-Start/Stop keywords were
  omitted. Basically the LSB header is quite similar to LSB header of
  network service...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Since we are using systemd, the Default-Start/Stop keywords were
  omitted. Basically the LSB header is quite similar to LSB header of
  network service...
</pre>
</div>
</content>
</entry>
<entry>
<title>po/xgettext_sh.py: fix for indentation of previous commit</title>
<updated>2018-05-14T11:15:48+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-05-14T11:03:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=721c3dd4e3ad8ad0dec5bed350bc2743e97d357f'/>
<id>721c3dd4e3ad8ad0dec5bed350bc2743e97d357f</id>
<content type='text'>
  The tabs &amp; spaces mixture caused bad script conversion and breaking
  the script completely...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  The tabs &amp; spaces mixture caused bad script conversion and breaking
  the script completely...
</pre>
</div>
</content>
</entry>
<entry>
<title>po/xgettext_sh*: converted to use to python3</title>
<updated>2018-05-11T13:09:06+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-05-11T12:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=1d8958cd062c9c5051d93b8d3b946a4384451374'/>
<id>1d8958cd062c9c5051d93b8d3b946a4384451374</id>
<content type='text'>
  Also, the code has been fixed to comply with PEP8 specification.
  More info: https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Also, the code has been fixed to comply with PEP8 specification.
  More info: https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
</pre>
</div>
</content>
</entry>
</feed>
