<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts/etc, branch 10.00.18</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>Allow updating rfkill switch status while in readonly root mode</title>
<updated>2020-11-06T07:45:00+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-11-06T07:16:43+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=8a329b3f5feb063f8da0bc1ba880396d1eda9b58'/>
<id>8a329b3f5feb063f8da0bc1ba880396d1eda9b58</id>
<content type='text'>
Adding rfkill switch status into rwtab.

Resolves: #1878874

(cherry picked from commit 537a39f10173d34cd9a2cf75e42225bb339c318e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding rfkill switch status into rwtab.

Resolves: #1878874

(cherry picked from commit 537a39f10173d34cd9a2cf75e42225bb339c318e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow updating mlocate.db while in readonly root mode</title>
<updated>2020-11-06T07:06:56+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-11-06T07:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=8f0cf7d7d872709bbdcdb92d68dc423a64263ffc'/>
<id>8f0cf7d7d872709bbdcdb92d68dc423a64263ffc</id>
<content type='text'>
Fixes issue when updatedb does not have the ability to update the mlocate.db

Resolves: #1880277

(cherry picked from commit 94aafd1d4fce89f19726dfb1b331198ce7bfd9e9)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes issue when updatedb does not have the ability to update the mlocate.db

Resolves: #1880277

(cherry picked from commit 94aafd1d4fce89f19726dfb1b331198ce7bfd9e9)</pre>
</div>
</content>
</entry>
<entry>
<title>rwtab: Add support for chrony</title>
<updated>2020-06-16T07:23:17+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-06-16T07:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=a4a0b91b800d5ec5ba9310e2a4a88627bea777cd'/>
<id>a4a0b91b800d5ec5ba9310e2a4a88627bea777cd</id>
<content type='text'>
Chrony isn't able to write into its files while stateless mode is
active. This patch should avoid this issue.

Resolves: #1839003</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Chrony isn't able to write into its files while stateless mode is
active. This patch should avoid this issue.

Resolves: #1839003</pre>
</div>
</content>
</entry>
<entry>
<title>Replace grep -EL with subshell since -L changed behaviour</title>
<updated>2020-06-16T07:21:48+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-06-16T07:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=f36c6214a1c0591a1aa7a4f45e3ede305ad0c555'/>
<id>f36c6214a1c0591a1aa7a4f45e3ede305ad0c555</id>
<content type='text'>
Option -L is not supported in grep 3.2+
Related to #rhbz1824324

-----------

Sugested by @lnykryn
Related to issue #300

(cherry picked from commit 04bb81ecfef80477a6bfa5b7598f27f5ad53f86e)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Option -L is not supported in grep 3.2+
Related to #rhbz1824324

-----------

Sugested by @lnykryn
Related to issue #300

(cherry picked from commit 04bb81ecfef80477a6bfa5b7598f27f5ad53f86e)</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated option -m of pidof</title>
<updated>2020-04-14T14:28:17+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-04-14T14:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=c4943660331ca6a30f6cf2bcf8465852e2c8efb0'/>
<id>c4943660331ca6a30f6cf2bcf8465852e2c8efb0</id>
<content type='text'>
Resolves: #1798128
(cherry picked from commit 516fb3ed7b7e2c9e8ba4e996cb9b6051acfdccd3)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves: #1798128
(cherry picked from commit 516fb3ed7b7e2c9e8ba4e996cb9b6051acfdccd3)</pre>
</div>
</content>
</entry>
<entry>
<title>network: don't fail with IFDOWN_ON_SHUTDOWN</title>
<updated>2019-10-30T07:34:53+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-10-30T07:34:53+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=8b9704ab4d4854595d6876bdfdfd1bbe835fbb88'/>
<id>8b9704ab4d4854595d6876bdfdfd1bbe835fbb88</id>
<content type='text'>
Resolve rhbz#1738578</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolve rhbz#1738578</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>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>network/ifup/ifdown: 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-02T13:05:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=335a6a84f618515c6902d374e391a301d0f43f6c'/>
<id>335a6a84f618515c6902d374e391a301d0f43f6c</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>
<entry>
<title>network/ifup/ifdown: deprecation warnings for 'network-scripts' added</title>
<updated>2018-08-03T11:03:15+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-08-01T15:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=285473ae10611849129eb16050ea6d6b8d84388d'/>
<id>285473ae10611849129eb16050ea6d6b8d84388d</id>
<content type='text'>
  In case of 'network' service these warnings are displayed only once,
  to not spam unnecessarily user's journalctl if they have many NICs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  In case of 'network' service these warnings are displayed only once,
  to not spam unnecessarily user's journalctl if they have many NICs.
</pre>
</div>
</content>
</entry>
</feed>
