<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts/etc, branch 10.04</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>rwtab: Add support for chrony</title>
<updated>2020-07-14T13:42:52+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-07-14T13:42:52+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=ff4fcd53fae5189b6a4692647463823ea7d1c16c'/>
<id>ff4fcd53fae5189b6a4692647463823ea7d1c16c</id>
<content type='text'>
Chrony isn't able to write into its files while stateless mode is
active.This patch should avoid this issue.

(cherry picked from commit 21c44a8e9a68a3a9d39a7fe003096434cea904ea)</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.

(cherry picked from commit 21c44a8e9a68a3a9d39a7fe003096434cea904ea)</pre>
</div>
</content>
</entry>
<entry>
<title>Replace grep -EL with subshell since -L changed behaviour</title>
<updated>2020-03-24T10:51:45+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-01-08T16:23:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=55ee446c0715b013e6d54860ae65e55baf544dc3'/>
<id>55ee446c0715b013e6d54860ae65e55baf544dc3</id>
<content type='text'>
Sugested by @lnykryn
Related to issue #300
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sugested by @lnykryn
Related to issue #300
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated option -m of pidof</title>
<updated>2020-03-24T10:04:57+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2020-03-24T10:04:57+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=78d63a837ca18cd88f6b79e11211805bea05cf0d'/>
<id>78d63a837ca18cd88f6b79e11211805bea05cf0d</id>
<content type='text'>
Resolves: #1798128

Co-authored-by: Lukáš Nykrýn &lt;lnykryn@redhat.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves: #1798128

Co-authored-by: Lukáš Nykrýn &lt;lnykryn@redhat.com&gt;</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>rc.d/functions: fix escape sequence being output under systemd service units</title>
<updated>2019-08-07T07:32:27+00:00</updated>
<author>
<name>HATAYAMA Daisuke</name>
<email>d.hatayama@fujitsu.com</email>
</author>
<published>2019-08-07T07:32:27+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=fdcc55839df2334d7a7567de1f02f07ee7a69561'/>
<id>fdcc55839df2334d7a7567de1f02f07ee7a69561</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.</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.</pre>
</div>
</content>
</entry>
<entry>
<title>network: don't fail with IFDOWN_ON_SHUTDOWN</title>
<updated>2019-06-10T07:09:55+00:00</updated>
<author>
<name>Lukas Nykryn</name>
<email>lnykryn@redhat.com</email>
</author>
<published>2019-04-01T15:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=2145c10d1c2d8d934a2292fc6f630884c856dc01'/>
<id>2145c10d1c2d8d934a2292fc6f630884c856dc01</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: remove support cgroups</title>
<updated>2019-06-06T15:31:08+00:00</updated>
<author>
<name>Lukas Nykryn</name>
<email>lnykryn@redhat.com</email>
</author>
<published>2019-03-29T11:05:57+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=0330dd3457ecefbbca58eab8ed83f9ced56b0081'/>
<id>0330dd3457ecefbbca58eab8ed83f9ced56b0081</id>
<content type='text'>
Now with systemd, this does not work pretty well and users really should
use systemd unit-files for this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now with systemd, this does not work pretty well and users really should
use systemd unit-files for this.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add option to wait until target is reachable</title>
<updated>2019-04-04T12:25:30+00:00</updated>
<author>
<name>Jan Macku</name>
<email>jamacku@redhat.com</email>
</author>
<published>2019-03-14T14:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=95632676a94a32bfa0a334b8e7f1c0fc87ce1af4'/>
<id>95632676a94a32bfa0a334b8e7f1c0fc87ce1af4</id>
<content type='text'>
Add option for time saving waiting

Replace date with simple timeout

Rename configurable variable and add documentation

Print log only when didn't reach IP address in time

Add support for IPv6 address

Remove unneeded output

Change -ge to -gt, because equal value is ok

Clarify DNS name option in documentation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add option for time saving waiting

Replace date with simple timeout

Rename configurable variable and add documentation

Print log only when didn't reach IP address in time

Add support for IPv6 address

Remove unneeded output

Change -ge to -gt, because equal value is ok

Clarify DNS name option in documentation
</pre>
</div>
</content>
</entry>
<entry>
<title>network/ifup/ifdown: deprecations warnings redirected to stderr</title>
<updated>2018-08-06T10:41:13+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=e92401ef4c2d317601f6280d654cd2b7b297e8b7'/>
<id>e92401ef4c2d317601f6280d654cd2b7b297e8b7</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: deprecation warnings for 'network-scripts' added</title>
<updated>2018-08-02T11:31:01+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=de16adb62bfc62cdfb2fce185d83bfe157c41803'/>
<id>de16adb62bfc62cdfb2fce185d83bfe157c41803</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>
