<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts, branch 10.00.4</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>10.00.4</title>
<updated>2019-08-23T09:45:51+00:00</updated>
<author>
<name>Lukas Nykryn</name>
<email>lnykryn@redhat.com</email>
</author>
<published>2019-08-23T09:45:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=688ab28dbfe4503eeb92dbd661fb010b4f819063'/>
<id>688ab28dbfe4503eeb92dbd661fb010b4f819063</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: Fix bridge setting stp option</title>
<updated>2019-08-23T09:43:42+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=36ae9056a2e6e09ac1d9fae84332e802d8a40528'/>
<id>36ae9056a2e6e09ac1d9fae84332e802d8a40528</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;
(cherry picked from commit dd703a8494647d401dbffa0f036233e08044ec60)
</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;
(cherry picked from commit dd703a8494647d401dbffa0f036233e08044ec60)
</pre>
</div>
</content>
</entry>
<entry>
<title>10.00.3</title>
<updated>2019-08-07T10:49:51+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-08-07T10:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=d531e7b20c94b08cad316bd151780dbe5a261f24'/>
<id>d531e7b20c94b08cad316bd151780dbe5a261f24</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.d/functions: fix escape sequence being output under systemd service units</title>
<updated>2019-08-07T10:18:51+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-08-07T09:58:59+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=62e93c3e251b10f52786993b4e761eaa1dc3106f'/>
<id>62e93c3e251b10f52786993b4e761eaa1dc3106f</id>
<content type='text'>
When functions provided by /etc/rc.d/functions is used, escape
sequence is output under systemd service units and logged into
/var/log/messages as follows:

    # LANG=C systemctl cat foobar.service
    # /etc/systemd/system/foobar.service
    [Unit]
    Description=FOOBAR

    [Service]
    Type=oneshot
    ExecStart=/usr/bin/foobar.sh
    RemainAfterExit=yes

    [Install]
    WantedBy=multi-user.target
    # cat /usr/bin/foobar.sh
    #! /bin/bash

    . /etc/init.d/functions
    echo_success
    # LANG=C grep foobar.sh /var/log/messages
    Aug  7 09:29:54 localhost foobar.sh[29607]: #033[60G[#033[1;32m  OK  #033[0;39m]#015#033[60G[#033[1;31mFAILED#033[0;39m]

This is a regression issue caused by the commit f88dbd98e992 where
consoletype command was dropped.

Under systemd service units, standard input is associated with
/dev/null by default:

    # systemctl show -p StandardInput foobar.service
    StandardInput=null

  man 5 systemd.exec:

     StandardInput=
         Controls where file descriptor 0 (STDIN) of the executed
         processes is connected to. Takes one of null, tty,
         tty-force, tty-fail, data, file:path, socket or fd:name.

         If null is selected, standard input will be connected to
         /dev/null, i.e. all read attempts by the process will
         result in immediate EOF.

consoletype command interprets /dev/null as serial:

    # consoletype &lt; /dev/null
    warning: consoletype is now deprecated, and will be removed in the near future!
    warning: use tty (1) instead! More info: 'man 1 tty'
    serial

The commit f88dbd98e992 overlooks this situation.

To fix this issue, check also "not a tty" to cover the case where
standard input is /dev/null.

Note that LANG=C is needed because the message "not a tty" varies
depending on locales.

(cherry picked from commit fdcc55839df2334d7a7567de1f02f07ee7a69561)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When functions provided by /etc/rc.d/functions is used, escape
sequence is output under systemd service units and logged into
/var/log/messages as follows:

    # LANG=C systemctl cat foobar.service
    # /etc/systemd/system/foobar.service
    [Unit]
    Description=FOOBAR

    [Service]
    Type=oneshot
    ExecStart=/usr/bin/foobar.sh
    RemainAfterExit=yes

    [Install]
    WantedBy=multi-user.target
    # cat /usr/bin/foobar.sh
    #! /bin/bash

    . /etc/init.d/functions
    echo_success
    # LANG=C grep foobar.sh /var/log/messages
    Aug  7 09:29:54 localhost foobar.sh[29607]: #033[60G[#033[1;32m  OK  #033[0;39m]#015#033[60G[#033[1;31mFAILED#033[0;39m]

This is a regression issue caused by the commit f88dbd98e992 where
consoletype command was dropped.

Under systemd service units, standard input is associated with
/dev/null by default:

    # systemctl show -p StandardInput foobar.service
    StandardInput=null

  man 5 systemd.exec:

     StandardInput=
         Controls where file descriptor 0 (STDIN) of the executed
         processes is connected to. Takes one of null, tty,
         tty-force, tty-fail, data, file:path, socket or fd:name.

         If null is selected, standard input will be connected to
         /dev/null, i.e. all read attempts by the process will
         result in immediate EOF.

consoletype command interprets /dev/null as serial:

    # consoletype &lt; /dev/null
    warning: consoletype is now deprecated, and will be removed in the near future!
    warning: use tty (1) instead! More info: 'man 1 tty'
    serial

The commit f88dbd98e992 overlooks this situation.

To fix this issue, check also "not a tty" to cover the case where
standard input is /dev/null.

Note that LANG=C is needed because the message "not a tty" varies
depending on locales.

(cherry picked from commit fdcc55839df2334d7a7567de1f02f07ee7a69561)
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace not working awk command with sed</title>
<updated>2019-07-31T12:08:46+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-06-11T11:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=bfda3cc2acdea827909e6c89bda5bbb5140cda6c'/>
<id>bfda3cc2acdea827909e6c89bda5bbb5140cda6c</id>
<content type='text'>
Sed command get version number from spec file and increment last
number by one. Work like old awk command was intended to work.

Source: https://stackoverflow.com/questions/14348432/how-to-find-replace-and-increment-a-matched-number-with-sed-awk/14348899
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sed command get version number from spec file and increment last
number by one. Work like old awk command was intended to work.

Source: https://stackoverflow.com/questions/14348432/how-to-find-replace-and-increment-a-matched-number-with-sed-awk/14348899
</pre>
</div>
</content>
</entry>
<entry>
<title>10.00.2</title>
<updated>2019-06-06T08:32:53+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-06-06T08:28:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=7a763e8f87764d5d3d35269ae4b05c02974f5e55'/>
<id>7a763e8f87764d5d3d35269ae4b05c02974f5e55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ifup-post: fix incorrect condition for RESOLV_MODS</title>
<updated>2019-06-06T08:32:53+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-08-20T12:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=1d4ffa5559de4cf3fdfcc2e69467fc74426cd78c'/>
<id>1d4ffa5559de4cf3fdfcc2e69467fc74426cd78c</id>
<content type='text'>
  This was causing the /etc/resolv.conf file to be always updated when
  RESOLV_MODS was not set...

  Before the commit 5d6156454bf8f6dab4a5fdd7e1bf6 we were not updating
  the /etc/resolv.conf file if the RESOLV_MODS was empty.

  See https://bugzilla.redhat.com/show_bug.cgi?id=1610411 for more info.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  This was causing the /etc/resolv.conf file to be always updated when
  RESOLV_MODS was not set...

  Before the commit 5d6156454bf8f6dab4a5fdd7e1bf6 we were not updating
  the /etc/resolv.conf file if the RESOLV_MODS was empty.

  See https://bugzilla.redhat.com/show_bug.cgi?id=1610411 for more info.
</pre>
</div>
</content>
</entry>
<entry>
<title>network/ifup/ifdown: deprecations warnings redirected to stderr</title>
<updated>2018-08-06T11:05:14+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-08-06T09:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=b163b3a66dc3684181f219f424e2dd81eff691f6'/>
<id>b163b3a66dc3684181f219f424e2dd81eff691f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>10.00.1</title>
<updated>2018-08-03T12:33:12+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-08-03T11:33:24+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=a5703b885834fd47adcbf196f3e721b365c2b7f2'/>
<id>a5703b885834fd47adcbf196f3e721b365c2b7f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>consoletype/genhostid/usleep: allow disabling of deprecation warnings</title>
<updated>2018-08-03T11:06:43+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-08-03T10:24:23+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=5936ddaea95efcbff1a925b2d675c6e0c50e6f45'/>
<id>5936ddaea95efcbff1a925b2d675c6e0c50e6f45</id>
<content type='text'>
  ... by checking existence of /etc/sysconfig/disable-deprecation-warnings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  ... by checking existence of /etc/sysconfig/disable-deprecation-warnings
</pre>
</div>
</content>
</entry>
</feed>
