aboutsummaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Allow updating rfkill switch status while in readonly root modeJan Macku2020-11-061-0/+1
| | | | | | | | Adding rfkill switch status into rwtab. Resolves: #1878874 (cherry picked from commit 537a39f10173d34cd9a2cf75e42225bb339c318e)
* Allow updating mlocate.db while in readonly root modeJan Macku2020-11-061-0/+1
| | | | | | | Fixes issue when updatedb does not have the ability to update the mlocate.db Resolves: #1880277 (cherry picked from commit 94aafd1d4fce89f19726dfb1b331198ce7bfd9e9)
* rwtab: Add support for chronyJan Macku2020-06-161-1/+2
| | | | | | Chrony isn't able to write into its files while stateless mode is active. This patch should avoid this issue. Resolves: #1839003
* Replace grep -EL with subshell since -L changed behaviourJan Macku2020-06-161-2/+2
| | | | | | | | | | | Option -L is not supported in grep 3.2+ Related to #rhbz1824324 ----------- Sugested by @lnykryn Related to issue #300 (cherry picked from commit 04bb81ecfef80477a6bfa5b7598f27f5ad53f86e)
* Remove deprecated option -m of pidofJan Macku2020-04-141-2/+2
| | | | Resolves: #1798128 (cherry picked from commit 516fb3ed7b7e2c9e8ba4e996cb9b6051acfdccd3)
* network: don't fail with IFDOWN_ON_SHUTDOWNJan Macku2019-10-301-2/+2
| | | Resolve rhbz#1738578
* rc.d/functions: fix escape sequence being output under systemd service unitsJan Macku2019-08-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 < /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)
* network/ifup/ifdown: deprecations warnings redirected to stderrDavid Kaspar [Dee'Kej]2018-08-061-3/+3
|
* network/ifup/ifdown: allow disabling of deprecation warningsDavid Kaspar [Dee'Kej]2018-08-031-5/+7
| | | | ... by checking existence of /etc/sysconfig/disable-deprecation-warnings
* network/ifup/ifdown: deprecation warnings for 'network-scripts' addedDavid Kaspar [Dee'Kej]2018-08-031-0/+7
| | | | | In case of 'network' service these warnings are displayed only once, to not spam unnecessarily user's journalctl if they have many NICs.
* specfile: netconsole service moved to /usr/libexecDavid Kaspar [Dee'Kej]2018-06-141-164/+0
|
* netreport functionality droppedDavid Kaspar [Dee'Kej]2018-05-301-11/+0
| | | | This concept is quite outdated, and not sane to use at all.
* networks moved into 'setup' packageDavid Kaspar [Dee'Kej]2018-05-301-3/+0
|
* lang.{sh,csh} moved into setup packageDavid Kaspar [Dee'Kej]2018-05-303-159/+3
| | | | | Other references to these files were removed, as well as irrelevant info in sysconfig.txt, and some dead code in init.d/functions file.
* lang.{sh,csh} cleanup before moving to 'setup' packageDavid Kaspar [Dee'Kej]2018-05-302-155/+125
| | | | The dependance on 'consoletype' binary has been removed.
* adjtime moved into 'util-linux' packageDavid Kaspar [Dee'Kej]2018-05-301-2/+0
| | | | | The line /etc/adjtime has been kept in rwtab, to not break the readonly-root...
* Repository scheme updated to new layoutDavid Kaspar [Dee'Kej]2018-05-3013-0/+1434
NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.